[Mono-list] Large memory usage on a 64bit machine

Anset Anset@anset.org
Thu, 06 Jan 2005 19:17:01 +0100


Hi,

I'd assume that a 64bit kernel is propperly configured, but you might 
take a look at the kernel settings for the cpu.

On 32bit cpus, by default the kernel only maps 880MB.

To be able to use all the RAM on a 1GB machine or better, the kernel 
needs to be recompiled.

Go into 'make menuconfig' (or whichever config is preferred) and set the 
following option:

Processor Type and Features ---->
High Memory Support ---->
(X) 4GB

Hope this helps,

Anset


Joannes Vermorel wrote:
> I am using mono on redhat with an AMD64 and 8Gb of memory. When I try to
> instantiate a list of arrays int[], total being greater than 1Gb, mono
> throws an OutOfMemoryException.
> 
> Can someone tell me why? With a 64-bit architecture, I should be able to
> handle more than 1Gb of RAM. What should I do to get access to more memory?
> 
> Joannès
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>