[Mono-dev] VBNC uses too much CPU and RAM on Mono
bmaurer at ximian.com
Sun Oct 29 14:44:13 EST 2006
Even after the patches I suggested to Rolf, VBNC had a heap size of ~100mb
on MSFT. I'm a bit suprised Mono is having so much trouble. It's quite
possible this is a GC issue. The compiler stores a very large linked list
of all tokens in the program. With a non-generational gc, we may be having
very bad performance from walking the heap so much.
You might try aborting before the resolve phase, to see if you can
--profile before that point on Mono. Also, it's worth using profilers on
MSFT's runtime (most commercial ones have demos, that's always worked for
Sadly, I'm not going to have time to take a look at this for quite a while.
> I was using SVN HEAD.
> Please try the previously referenced patch, maybe you will be able to find
> out something more. The compiler don't seem to have endless recursions or
> loops but I may be wrong. Other than this problem I have no other idea,
> because it's running, but is slow and eats memory.
> ----- Original Message -----
> From: "Rolf Bjarne Kvinge" <rolflists at ya.com>
> To: "Kornél Pál" <kornelpal at gmail.com>; <mono-devel-list at lists.ximian.com>
> Sent: Sunday, October 29, 2006 7:37 PM
> Subject: Re: [Mono-dev] VBNC uses too much CPU and RAM on Mono
>> Are you using latest svn for vbnc? A few optimization was committed this
>> week so it should be faster. If it is running out of memory though I
>> there might some other problem optimizations won't resolve.
>> On Sun, 29 Oct 2006 19:21:07 +0100, Kornél Pál <kornelpal at gmail.com>
>>> Using the patch in
>>> no exception ocurred in vbnc but I wasn't able to finish the resolve
>>> because it runs out of memory. The machine I used has 1 GB RAM and is
>>> running Windows XP. And I think such a machine should be able to run a
>>> compiler. Note that running the same binary on MS.NET is much faster
>>> requires much less memory.
>>> If you have any idea making VBNC's footprint smaller please let me
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list