error 'Jave heap space'

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

error 'Jave heap space'

news
Hi,
I'm running multiple histograms graphs with a panel sub command  and get
an error 'Jave heap space'. The graph isn't created
GRAPH
   /HISTOGRAM(NORMAL)=opendim
   /PANEL COLVAR=attend COLOP=CROSS ROWVAR=prayr ROWOP=CROSS .

I found the help page
http://www-01.ibm.com/support/docview.wss?uid=swg21480232 which says I
should increase the Xmx64M parameter in the jvmcfg.ini file .
But to which level ? How can I calculate it .
I use SPSS 15.
TIA

F. Thomas


    Resolving the problem

This is how to find the version of the JRE that SPSS uses:

C:\PROGRA~1\SPSS15\JRE\bin>java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)


Look at jvmcfg.ini in the SPSS directory. There are Java heap parameters
in this file, i.e.

[Startup Parameters]
; Set maximum Java heap size to 64 megabytes
-Xmx64M
-XX:-UsePerfData
-Xrs



Increase the -Xmx parameter in the jvmcfg.ini file

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD