Re: Two types of memory issues

Basile Starynkevitch <[email protected]> Sun, 8 Feb 2009 23:01:13 -0800 (PST)
Newsgroups gmane.comp.gnome.mono.garbage-collection
Message-ID <[email protected]>


jornare wrote:
> 
> 
> Error 1)
> "Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS"
> This error usually seems to be associated with the StringBuilder class,
> and I have managed to overcome a few of the instances where it crashes by
> avoiding to use StringBuilder.
> 
> So, how do i Increase MAXINCHR and/or MAX_HEAP_SECTS? -And will this be a
> finite solution?
> 

You need to rebuild the Boehm's collector used in MONO. There is some
configure options dealing with that.

I forgot the details, and I am not a Mono expert.

Perhaps future Mono releases (and even the current Mono trunk) provide a
generational garbage collector which helps with that issue. So, you might
try the Mono trunk, with its experimental GC enabled.

-- 
View this message in context: http://www.nabble.com/Two-types-of-memory-issues-tp20576154p21907861.html
Sent from the Mono - Garbage Collection mailing list archive at Nabble.com.

_______________________________________________
Mono-gc-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-gc-list