Opened 10 years ago
Closed 9 years ago
#1399 closed defect (fixed)
OpenJUMP fails on system with more than 4gb ram
Reported by: | hamish | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | OSGeoLive8.0 |
Component: | OSGeoLive | Keywords: | openjump |
Cc: | edso |
Description
For the OSGeoLive 8.0 disc we use 32bit Lubuntu with the linux pae extensions, allowing the OS (but not processes) to access to more than 4gb ram.
On a test of the 8.0 mini on a system with 16gb ram, or a VM with 5gb RAM, OpenJUMP fails to start.
If you try from the command line you get the following error message:
$ openjump limit max. memory to 3072 MiB Running -> '/usr/lib/jvm/java-7-openjdk-i386/jre/bin/java'; java version "1.7.0_65"; OpenJDK Runtime Environment (IcedTea 2.5.1) (7u65-2.5.1-4ubuntu1~0.14.04.1); OpenJDK Server VM (build 24.65-b04, mixed mode); Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. press Enter to finish
Looking in the /usr/bin/openjump startup script I see some special 32bit $MEM_MAX logic. If I change the value there for max on 32bit down to 2716000000, or simply comment out the JAVA_MAXMEM line, then it starts up ok.
thanks, Hamish
Change History (4)
comment:1 by , 10 years ago
Summary: | OpemJUMP fails on system with more than 4gb ram → OpenJUMP fails on system with more than 4gb ram |
---|
comment:2 by , 10 years ago
Cc: | added |
---|
comment:3 by , 10 years ago
Note:
See TracTickets
for help on using tickets.
i hotfixed the release the installer is downloading to use 2GiB max for 32bit jre's..
please check if the error persists on the next build! .. thx ede/OpenJUMP