[Mono-list] Size of thread in Mono (65MB per thread ?)

Nicolas Antoniazzi nicolas at codingame.com
Thu Dec 19 11:41:55 UTC 2013


I tried with version 2.10.8 and 3.0.6. Both leads to the same behavior.
(Maybe gaining few KB with 3.0.6)

Unfortunately, I do not have .Net development environment to test.

Nicolas Antoniazzi
CTO - CodinGame
http://www.codingame.com
+33 (0)4 67 13 00 96


2013/12/19 "Andrés G. Aragoneses" <knocte at gmail.com>

> On 19/12/13 11:09, Nicolas Antoniazzi wrote:
> > Hi,
> >
> > I am using Mono in a virtualized environment with 512MB of RAM.
> > I made a very simple program which starts 10 threads in a loop and
> > apparently, every time that I start a new thread, approximately 65MB of
> > memory is used.
> >
> > In my case, I can run 5 threads, but for the 6th, the program crashes
> > (without any exception). 150MB are already consumed without the use of
> > any thread.
> >
> > Is it a normal behavior?
> >
> > Thanks!
>
> What version of mono are you using?
>
> Have you tried running your program under the .NET framework, to compare?
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20131219/4a9af3d9/attachment.html>


More information about the Mono-list mailing list