[Teammetrics-discuss] MemoryError in commitstat

Andreas Tille andreas at an3as.eu
Tue Sep 13 14:23:35 UTC 2011


On Mon, Sep 12, 2011 at 01:37:46PM +0530, Sukhbir Singh wrote:
> > I did not dived into your code but it might help to use some
> > intermediate file to store the information temporary that obviosely does
> > not fit into memory.
> 
> We just fetch each revision, calculate the + and - lines and then move
> on to the next one.

So are you submitting the whole content of the revision to blends.d.o or
just the result of the calculation?
 
> > As I said above, I'd consider using a temporary file because the memory
> > is not that impressive.
> 
> Yes, but I don't know what to save to temporary file here. I need to
> first profile this.
> 
> The problem is that for some repositories, such as debian-med, there
> are thousands of SVN commits and this might cause the problem.

Perhaps you can just trigger a job on Alioth which runs all the stats,
stores them in a temporary file and fetch the file with the stats
afterwards. 

Kind regards

       Andreas.

-- 
http://fam-tille.de



More information about the Teammetrics-discuss mailing list