Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Linux Discussion »

Re: Out of Memory issue (was: redhat-list Digest, Vol 47, Issue 16)

Imed Chihi

2008-01-18


Author LoginPost Reply
On Fri, 2008-01-18 at 12:00 -0500, redhat-list-request@(protected):
> Message: 7
> Date: Fri, 18 Jan 2008 11:33:38 +0000
> From: Andrew.Bridgeman@(protected)
> Subject: Re: Out of Memory issue (was: redhat-list Digest, Vol 47,
>  Issue 15)
> To: General Red Hat Linux discussion list <redhat-list@(protected)>
> Message-ID:
>  <OF37A438A0.91FE34B0-ON802573D4.003F1B52-802573D4.003F5D70@(protected)>
>  
> Content-Type: text/plain; charset=windows-1256
>
> Thanks for the reply. I have checked the two overcommit parameters and they
> are set as below:
>
> overcommit_memory=0
> overcommit_ratio= 50
>
> What settings would you suggest i try?

That would depend on the allocation patterns of your applications. On a
system with 2 GB of RAM and 2 GB of swap, I have tested:

overcommit_memory=2
overcommit_ratio=98

and I could allocate (and use) 3.8 GB of memory for an application
without triggering the OOM. You may need to test some values before you
decide what's best for you.

Good luck :)

-Imed

--
Imed Chihi - عماد الشيحي
Senior Technical Account Manager      Office: +44-1-252-362-962
http://www.redhat.com/promo/vendor   Mobile: +44-7-921-700-936

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)
https://www.redhat.com/mailman/listinfo/redhat-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.