Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7410

Re: 4 Gb are not enough ...

From yitzhakbg <yitzhakbg@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: 4 Gb are not enough ...
Date 2011-12-23 12:13 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jd1r8o$1pg$1@smc.vnet.net> (permalink)
References <i84adc$gvb$1@smc.vnet.net>

Show all headers | View raw


I've been grappling with the same issue. I'm trying to run on a machine with 512MB, Linux with a minimal (LXDE) desktop. Seems really strange to me that it can't even initialize.
It says:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java machine.

I added:

Needs["JLink`"];
ReinstallJava[JVMArguments -> "-Xmx100m"];

to $UserBaseDirectory/Kernel/init.m

I fiddled with the values up and down. No luck. Even went into the code in
SystemFiles/Links/JLink/Kernel/InstallJava.m

and changed the extraArgs default. Nothing seems to help.
Doesn't sound reasonable to me that Mathematica need so many hundreds of megabytes just to start up. Any ideas?

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: 4 Gb are not enough ... yitzhakbg <yitzhakbg@gmail.com> - 2011-12-23 12:13 +0000

csiph-web