[Mono-list] Long-running program

Gonzalo Paniagua Javier gonzalo.mono at gmail.com
Thu Oct 15 23:29:21 EDT 2009


On Thu, 2009-10-15 at 22:47 +0200, Cliff Stanford wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Gonzalo Paniagua Javier wrote:
> 
> > It would help a lot if you can get a small test case that reproduces the
> > problem. The alternative is to send your test with code and instructions
> > to run it... You can do so by creating a bug in bugzilla and making it
> > private.
> 
> I'm at a bit of a loss how to break this problem down.  It definitely
> seems to be a GC problem in Mono as the total memory usage grows to
> hundreds of Mb after a few hours.  It ssems to grow at around 30Mb an
> hour.  I'm now running the same binaries on Windows and it's steady
> around 1Mb of heap.

Mmmm... Do you keep *a lot* of timers around? Do you just add/remove a a
lot of them? If so, I'll change Timer to use a different data structure
to see if that helps.

-Gonzalo




More information about the Mono-list mailing list