I have a 32 bit debian machine running and want to increase my tomcat's memory. I tried this:
export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xms1024m -Xmx1536M -XX:PermSize=1024m -XX:MaxPermSize=1536m"
but i still get this error
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Why is that? I know 32 bit can only use up to 2g but 1.5 should easily work...
SYSTEM: DEBIAN WHEEZY 32 BIT
JAVA: ORACLE JAVA 7u55 32bit