Hello,
I've created a VPS with 512 MB RAM but
while I'm trying to install PHP on it I got this error.
virtual memory exhausted: Cannot allocate memory
make: *** [ext/gd/libgd/gd_io_ss.lo] Error 1
make: *** Waiting for unfinished jobs....
It seems like I don't have enough memory but actually I do ! the VPS only used 200/512 MB !
and also here is the output of cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
2: kmemsize 2463869 6527999 14372700 14790164 0
lockedpages 0 0 2048 2048 0
privvmpages 12250 131142 131072 131072 6
shmpages 1281 1297 21504 21504 0
dummy 0 0 0 0 0
numproc 27 59 100 100 0
physpages 5029 120771 0 9223372036854775807 0
vmguarpages 0 0 33792 9223372036854775807 0
oomguarpages 5029 120771 26112 9223372036854775807 0
numtcpsock 7 7 360 360 0
numflock 6 8 188 206 0
numpty 2 2 16 16 0
numsiginfo 0 8 256 256 0
tcpsndbuf 184072 184072 1720320 2703360 0
tcprcvbuf 114688 0 1720320 2703360 0
othersockbuf 9312 13736 1126080 2097152 0
dgramrcvbuf 0 8472 262144 262144 0
numothersock 10 14 360 360 0
dcachesize 0 0 3409920 3624960 0
numfile 649 1067 9312 9312 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 14 14 128 128 0
Remeber that the server is new , so it's impossible that it uses 512 MB of RAM. !
Please help me to find a solution .