[Mono-devel-list] Embedding mcs into ASP.NET.

Kamil Skalski nazgul at nemerle.org
Fri Apr 1 07:39:23 EST 2005

Dnia piątek, 1 kwietnia 2005 13:42, Zoltan Varga napisał:
>                                            Hi,
>   The memory management inside ref.emit is not very embedding friendly
> right now, i.e. it is highly possible that there are memory leaks so memory
> usage will probably increase with each compilation.

The another problem is design of .NET assemblies, which are not GCed. We have 
recently switched some of our tools to use Nemerle.Compiler.dll as library 
and indeed I observed memory usage increase:

Running over 300 compilations  (test of frommcs converted cases) caused over 
20 MB allocations over time. 
I'm not sure how much is because of not unloading created assemblies and how 
much from other places (maybe also from Nemerle.Compiler.dll, but it is 


More information about the Mono-devel-list mailing list