hi gurus<br>

<br>

I am facing problem while running java on linux(Linux 2.6.9-023stab043.1-enterprise)<br>

after installation i executed the command :<br>

java -version ,got error as :<br>

<br>
"Error occurred during initialization of VM<br>

Could not reserve enough space for code cache"<br>

<br>

I have also tried <br>

jdk1.5.0_06/bin/java -Xmx512M<br>

<br>

but no luck<img src="http://linuxquestions.cachefly.net/images/questions/images/smilies/headscratch1.gif" alt="" title="Head Scratch" class="inlineimg" border="0"> <br>

<br>

Have any one experienced this problem before.<br>

Any idea is welcome.<br>

plz show me light were to search<br>

<br>

The deatils are as:<br>

java : jdk1.5<br>

linux: 2.6.9-023stab043.1-enterprise<br>

RAM:  700 MB(approx) 40% in use 60% free. <br>

<br>

[root@as private]# ulimit -a<br>

core file size          (blocks, -c) 0<br>

data seg size           (kbytes, -d) unlimited<br>

file size               (blocks, -f) unlimited<br>

pending signals                 (-i) 1024<br>

max locked memory       (kbytes, -l) 32<br>

max memory size         (kbytes, -m) unlimited<br>

open files                      (-n) 1024<br>

pipe size            (512 bytes, -p) 8<br>

POSIX message queues     (bytes, -q) 819200<br>

stack size              (kbytes, -s) 10240<br>

cpu time               (seconds, -t) unlimited<br>

max user processes              (-u) 71679<br>

virtual memory          (kbytes, -v) unlimited<br>

file locks                      (-x) unlimited<br clear="all"><br>-- <br>THANKS<br>ALOK PANDEY