[Mono-devel-list] Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS

Joannes Vermorel joannes at vermorel.com
Tue Aug 2 16:03:53 EDT 2005


I am currently developping a scientific computing application in C#.
Basically, the application is simple, first it loads from a text file
roughly 100MB of data, and then run a CPU intensive algorithm. The memory
required while running the algo is around 600MB. I am not using anything
beyond the System.Collections in .Net.

On MS .Net 1.1, the computation works well and terminates properly. On a
linux AMD64 (with 8GO of memory), the program is aborded at mid-computation
and the only message that I get is

Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS

(I am using mono 1.1.8, compiled with the option --with-large-heap=yes).

I am a bit lost against this issue. Does anyone know what should be done to
fix this issue?

Thanks in advance,
Joannès





More information about the Mono-devel-list mailing list