aspose file tools*
The moose likes Java in General and the fly likes Picked up _JAVA_OPTIONS: -Xmx512M in eclipse, and java games. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Picked up _JAVA_OPTIONS: -Xmx512M in eclipse, and java games." Watch "Picked up _JAVA_OPTIONS: -Xmx512M in eclipse, and java games." New topic
Author

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

Joseph Alrawi
Greenhorn

Joined: Jul 27, 2014
Posts: 21
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
Sheriff

Joined: Sep 28, 2004
Posts: 18829
    
  40

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


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Picked up _JAVA_OPTIONS: -Xmx512M in eclipse, and java games.