[Live-demo] [OSGeo] #1399: OpemJUMP fails on system with more than 4gb ram
OSGeo
trac_osgeo at osgeo.org
Fri Aug 22 21:12:39 PDT 2014
#1399: OpemJUMP fails on system with more than 4gb ram
---------------------+------------------------------------------------------
Reporter: hamish | Owner: live-demo@…
Type: defect | Status: new
Priority: major | Milestone: OSGeoLive8.0
Component: LiveDVD | Keywords: openjump
---------------------+------------------------------------------------------
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
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1399>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Live-demo
mailing list