Hi,
I'm running a multiple histograms graph with a panel sub command and get an error 'Jave heap space'. The graph isn't created. The data set that is to be visualised is a large survey (n > 100,000). This is the syntax I use: 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 ? Reducing the size of the data set to a quarter of the initial sample size produced the same error message. I use SPSS 15. TIA F. Thomas This is the text of the IBM SPSS help page: 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 |
Hi I'll be running classes from Monday 17 to Thursday 20 June. I will check mail intermittently and get back to you as soon as i can Thanks John |
In reply to this post by news
Newer version of Statistics are more parsimonious
in how they assemble the histogram data, but in your case, you will need
to just experiment with the jvm size or sample the data. Try doubling
it and then doubling again. The limit on the heap size is present
in order to ensure that the jvm does not take so much memory that other
programs running at the same time are starved for memory. Therefore,
the ultimate practical limit will depend on how much memory your system
can use.
Jon Peck (no "h") aka Kim Senior Software Engineer, IBM [hidden email] phone: 720-342-5621 From: ftr <[hidden email]> To: [hidden email], Date: 06/17/2013 06:22 AM Subject: [SPSSX-L] error 'Jave heap space' Sent by: "SPSSX(r) Discussion" <[hidden email]> Hi, I'm running a multiple histograms graph with a panel sub command and get an error 'Jave heap space'. The graph isn't created. The data set that is to be visualised is a large survey (n > 100,000). This is the syntax I use: 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 ? Reducing the size of the data set to a quarter of the initial sample size produced the same error message. I use SPSS 15. TIA F. Thomas This is the text of the IBM SPSS help page: 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 |
Free forum by Nabble | Edit this page |