natti.shwarts at gmail.com
Tue Dec 17 16:14:06 UTC 2013
I'm running the following .net program on mono (Ubuntu 12, sources
and after ~1 minute where the memory rises up (without any reason according
to the code below), mono crash with TOO MANY HEAP SECTIONS.
(using Queue + lock is stable)
I got mono sources from Git and compile them with large heap.
The result was the same.
I have a few questions:
1. Do you have any idea what could cause this problem ?
2. regarding mono compilation, all makefiles created are with -g flag, how
can I remove it ?
private static readonly ConcurrentQueue<object> Pool = new
static void Main(string args)
for (var i = 0; i < 500; i++)
var threads = Enumerable.Range(0, Environment.ProcessorCount)
.Select(_ => new Thread(()
foreach (var t in threads)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list