How to make java use more ram
Hello,
As title says. How to make java use more ram? I read about -Xmx and -Xms parameters but every way of using it just failed for me. I want every application to run with these parameters.
I tried to do it using Java Runtime Enviroment Settings in java control panel but when I do it my changes are just getting erased.
PS:
I want it to make games run smoothly.
@EDIT
I'm using Windows 7
Re: How to make java use more ram
Quote:
Originally Posted by
Hibernate
Modifying how much RAM (256 by default?) Java can use is not possible in Windows. You should let the vendor know Java runs out of memory in Windows with your JVM.
If you switch to GNU/Linux everything should work. If you want to use Windows and can't get help from the vendor, look for another JVM that does not have this problem.
Actually you can. I hate when people comment without knowing what they are talking about. Anyway go to Control Panel then you'll eventually see Java (I use the classic view in Control Panel) click on Java then when it opens you'll go to the Java tab and it will say Java Run time environments click view then it opens. Under the area that says "Runtime Parameters" you click there to add in -Xmx1024mb You can add more but that should be fine if you're running Minecraft which I assume you will be.
Re: How to make java use more ram
The minecraft invasion :D I though the same thing, that or read up online for the simple add ram to server trick
Basicly you create a executable .bat and specify this command as a tag when ran
Xmx1024mb
Re: How to make java use more ram
i had this problem while developing a game. i use netbeans, not sure how to do this in eclipse, but i went to project properties and added more from there :)
note- i use a mac