Re: Why do I get out of memory errors when 10GB memory is free?

From: Mladen Gogala <mladen_at_bogus.email.invalid>
Date: Wed, 15 Jul 2009 16:19:47 +0000 (UTC)
Message-ID: <h3kvj3$2ma$3_at_solani.org>



On Tue, 14 Jul 2009 18:56:01 -0700, zigzagdna wrote:

> I am not
> a UNIX admin, so I still wonder when 10GB memory is avaiable why HP OS
> first won't utlize this memory instead of going to swap to get heap
> memory .

That's elementary my dear zigzagdna. Whenever Unix allocates memory, it allocates the space on swap as well. It does that because it needs the place to store the newly initialized pages, should they be thrown out of memory later. If there is no swap to allocate, memory will not be allocated. You should execute the system administrator who has set up the system with swap partition smaller than the physical memory.

-- 
http://mgogala.freehostia.com
Received on Wed Jul 15 2009 - 11:19:47 CDT

Original text of this message