connect sdk 1.4.2 with tomcat and..

java test argument1 argument2 argument3

Error occurred during initialization of VM

Could not reserve enough space for code cache

I know it is some sort of "running out of memory" error, but what are the debuggers and ways to fix it.

Not much on the internet about this.

CentOS VPS with very limited memory here.

[348 byte] By [bcddd214a] at [2007-11-27 11:27:09]
# 1

here is exactly what happens

[/usr/local]# java Test argument1 argument2 argument3

Arguments:

argument1

argument2

argument3

# export ANT_HOME=/usr/local/apache-ant-1.7.0

# export PATH=/usr/local/apache-ant-1.7.0/bin

# java Test argument1 argument2 argument3

-bash: java: command not found

It is as though as soon as I load the enviromental variable to ant, the system completely jacks up.

How do I adjust the memory usage of ant and java?

bcddd214a at 2007-7-29 16:14:37 > top of Java-index,Java Essentials,New To Java...
# 2

trying to run java 1.4.2 with ant 1.7 and tomcat 5 on a vps with 358 mb of ram is like tring to stick a water mellon in your ear!

I know!

Does anyone know where I can get some java lube?

bcddd214a at 2007-7-29 16:14:37 > top of Java-index,Java Essentials,New To Java...
# 3

Does anyone know how to debug this?

bcddd214a at 2007-7-29 16:14:37 > top of Java-index,Java Essentials,New To Java...