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.
Basile STARYNKEVITCH
http://starynkevitch.net/Basile/email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***