• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic