|
Unfortunately, it's under windows vista.
:(
Actually I am considering changing to linux like ubuntu as an alternative if things can't be speed up in windows. Received: Saturday, March 13, 2010, 4:05 PM
Are you running on linux or OS X? You can see the memory usage and the available memory per process using the top command Otherwise, if you have some example code, we may be able to see a way of speeding things up?
Tim
On Sat, Mar 13, 2010 at 8:59 PM, hix li <hix_li@yahoo.ca> wrote:
|
I see then. My program is not out of memory, but it's slow. So I am thinking of increase the memory capacity for the program to see if it would make it faster.
:(
Hix
From: Tim Yates <tim.yates@gmail.com>
Subject: Re: [groovy-user] How to setup the JAVA_OPTS in groovy?
Received: Saturday, March 13, 2010, 3:09 PM
Xmx sets the Maximum heap It does not set how much memory your app will allocate on startup, just the level it's allowed to grow to. I assume you're running out of memory? Tim
On Sat, Mar 13, 2010 at 7:51 PM, hix li <hix_li@yahoo.ca> wrote:
|
I checked the link you mentioned. Yes, Xms is for the max memory capacity, not the running memory. Any way to specify the running memory?
From: Anders Viklund <viklund_anders@hotmail.com>
Subject: RE: [groovy-user] How to setup the JAVA_OPTS in groovy?
Received: Saturday, March 13, 2010, 7:18 AM
I guess the Xms is the maximum heap size to use, not the initial heap size. see here: http://jmol.sourceforge.net/docs/JmolUserGuide/ch02s07.html
Date: Sat, 13 Mar 2010 04:01:55 -0800 From: hix_li@yahoo.caTo: user@groovy.codehaus.org
CC: hix_li@yahoo.caSubject: [groovy-user] How to setup the JAVA_OPTS in groovy?
|
I would like to allocate more memory for running groovy.
Is it by changing the JAVA_OPTS?
I have changed the groovy/bin/startGroovy.bat file, placing the command:
set JAVA_OPTS="-Xmx512m"
But the resource monitor tells that only 55M is allocated to groovy when it's running in windows.
Is there any other place that I should make change in order to allocate more memory for running groovy?
Thanks!
Hix
|
Hotmail: Free, trusted and rich email service. Get it now.
|
|
|