1 Attachment(s)
Unable to allocate more memory to java
Alright so I have looked up a guide as to how to allocate more memory to the jvm and followed it to the letter however every time I check to see the memory that has been allocated to java it says that it has 1024MB rather than the 4096MB I assigned to it.
Here is a picture of the current settings: Attachment 3830
Thanks in advance. :)
Re: Unable to allocate more memory to java
Make the columns wider so you can see which executable the parameters apply to. Hint: it's probably not java.exe
db
1 Attachment(s)
Re: Unable to allocate more memory to java
It seems to be applied to javaw.exe.
Attachment 3831
Re: Unable to allocate more memory to java
So, if you need entries for java.exe you can add them.
db
Re: Unable to allocate more memory to java
I have tried to do that though I'm not sure of how to do so. Do I need a new entry or do I add something to the runtime parameters?
Re: Unable to allocate more memory to java
Hm, I see a button in your screenshot marked 'Add'
Wonder what that does?
db
Re: Unable to allocate more memory to java
OK I'm not an idiot, I have tried that and I set the path to "C:\Program Files\Java\jre7\bin\java.exe" and it keeps getting removed. That's why I was asking if there was something specific I needed to do rather than the obvious.
Re: Unable to allocate more memory to java
Since java.exe is only called "manually" then giving it a different default via those settings makes no sense, since you generally define it at execution time.
javaw needs the above since it is what launches (normally) a jar file on a double click, so there needed to be a mechanism for supplying a different value for Xmx (etc).