Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.5.7, 1.6.4
-
Fix Version/s: None
-
Component/s: command line processing
-
Labels:None
-
Environment:Windows XP
Description
I want to set specific amount of java maxmem to groovy process. Regarding documentation I use 'set JAVA_OPTS="-Xmx10m"'. When I start groovy I see from Process Monitor that groovy takes 33Mb. It doesn`t matter how much memory I set. Also "groovy -Xmx10m" does not work. And even more 'set JAVA_OPTS="-Xmx10m -Xms10m"' does not work at all.
Am I doing something wrong or what?
I found that the jvm is using a certain minimum amount of heap memory, even if you specify less. Also the Groovy command sets mx already and the java command does ignore further settings of it. That's the reason why mx is ignored. Might be the same for ms