• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Picked up _JAVA_OPTIONS: -Xmx512M in eclipse, and java games.

 
Joseph Alrawi
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.

I've been running into an issue saying Picked up "_JAVA_OPTIONS: -Xmx512M" when I finish running a code in eclipse, when I code small things, this doesn't really bother me. But I'm aiming for being able to make some java games later on and I think that "Picked up _JAVA_OPTIONS: -Xmx512M" will hold me back, because in different java games, I've noticed that I am unable to allocate more RAM to them since my java is somehow only allowing a maximum of 512M. Is there any option file in my control panel or something like that which will allow me to change -Xmx to a higher value?

Thanks!
 
Henry Wong
author
Marshal
Pie
Posts: 21496
84
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joseph Alrawi wrote:
I've been running into an issue saying Picked up "_JAVA_OPTIONS: -Xmx512M" when I finish running a code in eclipse, when I code small things, this doesn't really bother me. But I'm aiming for being able to make some java games later on and I think that "Picked up _JAVA_OPTIONS: -Xmx512M" will hold me back, because in different java games, I've noticed that I am unable to allocate more RAM to them since my java is somehow only allowing a maximum of 512M. Is there any option file in my control panel or something like that which will allow me to change -Xmx to a higher value?


Well, it's a JVM command line argument. To allocate more memory, you have to change it ... say ... -Xmx1024M to allow a one gigabyte heap.

For Eclipse, I believe you can change it in the start up initialization file.

Henry
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic