java - Is it possible to install 64 bit JVM on linux so heap can be larger then 2gb? -
it's 32 bit ubuntu os
rob@laptop:~$ uname -a linux laptop 3.5.0-37-generic #58~precise1-ubuntu smp wed jul 10 17:51:56 utc 2013 i686 i686 i386 gnu/linux rob@laptop:~$ java -version java version "1.7.0_25" openjdk runtime environment (icedtea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2) openjdk server vm (build 23.7-b01, mixed mode) rob@laptop:~$ sudo update-alternatives --config java there 3 choices alternative java (providing /usr/bin/java). selection path priority status 0 /usr/lib/j2re1.6-ibm/jre/bin/java 1200 auto mode 1 /home/rob/downloads/jre1.7.0_25/bin/java 1 manual mode 2 /usr/lib/j2re1.6-ibm/jre/bin/java 1200 manual mode * 3 /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java 1051 manual mode
i want able run more 2g of heap
rob@laptop:~$ java -xmx3g -jar tool.jar error occurred during initialization of vm not reserve enough space object heap error: not create java virtual machine. error: fatal exception has occurred. program exit. rob@laptop:~$ free -g total used free shared buffers cached mem: 15 2 12 0 0 1
no. 32-bit kernel(and 32-bit cpu well) cannot run 64-bit executable jvm(or other 64-bit executable/elf) choice of os , kernel.
Comments
Post a Comment