This content has been marked as final.
Show 3 replies
-
1. Re: Out of memory
Dude! Oct 15, 2012 9:53 AM (in response to Alexander_R)That's probably a question about VMware and your hardware rather than Oracle Linux. You seem to be running out of physical RAM, hence the OOM killer in Linux activates to sacrifice processes in order to free up memory for the system when all else fails. -
2. Re: Out of memory
Alexander_R Oct 15, 2012 11:49 AM (in response to Dude!)But what about swap in linux? -
3. Re: Out of memory
Dude! Oct 15, 2012 2:23 PM (in response to Alexander_R)Swap is not a substitute for RAM. It helps to page the memory of idle processes to disk to free up conventional memory. However, the kernel needs physical real memory to be able to manage memory pages and also to manage the swap space. If your system runs out of low memory it will eventually crash, but OOM will kill processes before that happens as a last resort to stay alive. Memory exhaustion can even happen if you have a lot of memory installed but use a 32-bit kernel and do not use kernel hugepages, resulting in very large memory page tables and bad performance.