My server is running out of memory, despite having all swap free
- by Biohazard
I am using Debian 6 (Squeeze). The server has 4gb of memory in it, and 8gb of swap. I'm starting to get memory alloc errors at high application load times, but from top command:
Mem: 4055944k total, 3915436k used, 140508k free, 10444k buffers
Swap: 7999480k total, 0k used, 7999480k free, 3604496k cached
The system isn't even trying to use the swap?
Why would this be happening? I would like to upgrade the primary memory, but this isn't possible just right now.
Thanks.