How to give java more memory windows 7


















Alright so in this tutorial we are going to be learning how to give Java access to more of the computers Ram than it is given by Default. It is a simple and easy process, here is how to do it. Here is where you are going to change the amount of ram that java has access to. This is going to be in Megabytes so if you want to add for example 2 Gigabytes of Memory you are going to want to type -Xmx If you want to find the number for you just search up a Mb to Gb converter.

Your Java program should now use your specified amount of RAM. Java can help run games and computer programs, and it's free to install. Yes No. Not Helpful 5 Helpful 4. Your program is programmed in Java. Java is designed so that one program can run across multiple computers, but in order for that to work Java needs to be installed on each of those computers. That way, only Java has to be reprogrammed to work on different computers instead of all of the programs that use Java.

Not Helpful 3 Helpful 0. Include your email address to get a message when this question is answered. By using this service, some information may be shared with YouTube. You can check your computer's maximum available RAM by right-clicking the My Computer app icon, clicking Properties in the drop-down menu, and reviewing the "Installed memory RAM " heading. Helpful 0 Not Helpful 0. Running Java with modified memory settings may cause your computer to slow down when attempting to use other programs e.

You Might Also Like How to. How to. About This Article. Written by:. Co-authors: Updated: November 20, Categories: Java Windows 7. Italiano: Aumentare la Memoria Java in Windows 7. Nederlands: Het Java geheugen vergroten. Thanks to all authors for creating a page that has been read , times.

Is this article up to date? Cookies make wikiHow better. By continuing to use our site, you agree to our cookie policy. By signing up you are agreeing to receive emails according to our privacy policy. But if you have better way, please don't hesitate to post it. Anyway, thank you for your responses. You have to use -Xmx or perhaps generate a launcher for your jar.

Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Ask Question. Asked 11 years, 8 months ago. Active 11 years, 8 months ago. Viewed 6k times. I've got problem with java jar files and memory. Best Regards Denny ps: fyi the computer i used to develop the application have 2gb ram, on the other computers i tested have gb ram.

Improve this question. Denny Denny 51 1 1 silver badge 3 3 bronze badges. Add a comment. Active Oldest Votes. You answered your own question. The application must be launched with the -Xmx option.

Improve this answer. Yann Ramin Yann Ramin Is it possible to do that automatically? Because i already set the -Xmx option in netbeans.



0コメント

  • 1000 / 1000