when you can make one project as desktop with j2se without determine the real memory to run it , it will happen for java heap memory , running time on the system. So i have one ways to solve it to avoid the java heap memory with this step :
1. Click right mouse on the project
2. Choose the property
3. after that it show one form , u must click on the run
4. you will see on label : ” VM Options “ and text box , you must put like this :
-Xms1536m -Xmx1536m
Note : the number is parameter , you can change it to other number that you want to determine memory of computer to run the system
1. Click right mouse on the project
2. Choose the property
3. after that it show one form , u must click on the run
4. you will see on label : ” VM Options “ and text box , you must put like this :
-Xms1536m -Xmx1536m
Note : the number is parameter , you can change it to other number that you want to determine memory of computer to run the system
No comments:
Post a Comment