64bit Java Question

Discussion in 'Bukkit Help' started by MeneXia, Jul 6, 2011.

Thread Status:
Not open for further replies.
  1. Hi,

    My server is a CentOS 5.x 32bit system, with 8GB of RAM.

    I have installed Java through SSH, using these commands
    "yum java install" then "yum java update"

    Typing in "java -version", I get this:
    Open JDK Runtime Enviroment (IcedTea6 1.9.8) (rhel-1.22.1.9.8.e15_6-i386)
    OpenJDK Server VM (build 19.0-b09, mixed mode)

    Now, I whenever I try to launch my server with this launch line:
    Code:
    java -server -Xincgc -Xmx4G -Djava.net.preferIPv4Stack=true -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=4 -XX:+AggressiveOpts -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=500 -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -Xnoclassgc -XX:UseSSE=3 -XX:PermSize=128m -XX:LargePageSizeInBytes=4m -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    
    I get an error which is this:
    The specified size exceeds the maximum representable size.
    Could not create the Java virtual machine.

    Should I upgrade my CentOS platform to a 64bit in order for it to execute a launch line more than 4GB? Is there something wrong in the way I installed my Java on the machine? Please let me know, - MeneXia
     
  2. You need to go to 64bit Cent. 32 bit can only use 4gig of ram, and that is including the OS itself.
     
  3. Offline

    Jeyge

    And I believe that 32 bit Java is limited to only 1.5 Gig.
     
  4. Would a PAE-kernel work serve as a quicker fix? Changing my server into a 64bit system would require backing up my HDD.
     
Thread Status:
Not open for further replies.

Share This Page