[Mono-dev] too many heap sections

Paolo Molaro lupus at ximian.com
Thu Mar 9 09:59:02 EST 2006


On 03/04/06 Carlos Solorzano wrote:
> How can I figure out what I might be doing wrong in my code? I guess I 
> can increase the things listed below but I would rather make my code a 
> bit better if possible.
> 
> Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
> /home/mycompany/test.sh: line 16:  9149 Killed                  mono 
> ./Test.exe
> 
> There are a lot of threads, remoting and System.Diagnostics.Process 
> stuff in my code.

Could you provide a test case?
Those vars are set in the libgc sources:
mono/libgc/include/private/gc_priv.h
But my guess is that increasing them would just be a workaround for
another issue. A test acse and a detailed bugzilla report would be
useful to track it down.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list