Hi All,
When i run mec as2 on one of my linux box's i get this error.
AgentServer#0 start failed: ERROR
java.lang.Exception: java.lang.OutOfMemoryError: unable to create new native threadEND
it is running Redhat, Kernal version is 2.4.21-52.ELsmp
I am running it with the mec_as2_start.sh script.
Memmory as default
-Xmx192M
-Xms92M
Thanks.
louis08,
please reserve more memory.
Regards
Heller
Hi Heller,
I am not sure If I did this right but i changed the -Xmx192M to -Xmx1024M and i am still getting the same error when i start mec, and surely mec can't use this much memory just in idle state.
Regards,
Louis08
Be careful that your linux account is not limited :
(quotas or limits ).
$> apropos limit
Ask to your BOFH ...
look in particular to 'max memory size ' entry...
$> ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 4091
virtual memory (kbytes, -v) unlimited
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4753347