• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 615
  • Last Modified:

How to increase java heap space in windows

How do I increase the java heap space in windows OS.
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
0
tfbsr
Asked:
tfbsr
  • 3
  • 2
1 Solution
 
and235100Commented:
0
 
tfbsrAuthor Commented:
Thanks but was able to get the answer without installing CIS
I request question to be closed.

Thanks for your help
0
 
and235100Commented:
Could you please note down your final resolution on the question?

Then - if you ask a new, 0-point question in the Community Support TA (http://www.experts-exchange.com/Community_Support/Community_Advisor/), containing a link to this question, with a request to close the question. A page editor will respond to the request by posting a new comment on the original question - informing participating experts that the Asker wants the question to be closed.

Recommendations of question resolution are allowed for up to 4 days (by participating experts) - and after that the question will be closed.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
tfbsrAuthor Commented:
My solution was
Eample: java -Xmx512M testjava.class
0
 
and235100Commented:
Great stuff - thank you.
0
 
Computer101Commented:
PAQed with points refunded (125)

Computer101
EE Admin
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now