[Mono-list] Why mono GC does not realloc the heap after collect?
Stifu
stifu at free.fr
Tue Jun 8 08:27:57 EDT 2010
Roman,
Just a quick heads up: you might be interested in testing the upcoming Mono
GC, SGen.
http://www.mono-project.com/Compacting_GC
http://mono.1490590.n4.nabble.com/SGen-improved-and-looking-for-testers-tp1539030p1539030.html
Roman Procopie wrote:
>
>
> Miguel de Icaza wrote:
>>
>> Because Mono does not support a collector like this, it uses a different
>> kind, a conservative collector.
>>
>
> What does this mean in simper words ?
>
> On a similar topic:
>
> I have a multithreaded server with sessions, each on its own thread.
> Upon session finish, it is cleaned, as proved by heapshot.
>
> However the amount of memory still sits at the same level.
>
> In a production environment, the amount of RAM each session uses is quite
> big (there is a MIME encoder/decoder which eats something like 10x the
> size of the message and we receive 10M+ messages), which makes it a
> problem.
>
> We have overcome this by running the session in a separate process. But
> from a code elegance point of view this is an ugly solution.
>
> Question is : How can I get mono to either free GC-ed object's memory, or
> reuse it ?
>
> Thanks a lot
>
--
View this message in context: http://mono.1490590.n4.nabble.com/Why-mono-GC-does-not-realloc-the-heap-after-collect-tp1507774p2247295.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list