The Artima Developer Community
Sponsored Link

Java Buzz Forum
Guide of java.lang.OutOfMemoryError: Java heap space in Tomcat, Eclipse, JBoss, Websphere,...

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Javin Paul

Posts: 412
Nickname: javinpaul
Registered: Jan, 2012

Javin Paul is Java Programmer working on Finance domain.
Guide of java.lang.OutOfMemoryError: Java heap space in Tomcat, Eclipse, JBoss, Websphere,... Posted: Aug 3, 2013 3:49 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Javin Paul.
Original Post: Guide of java.lang.OutOfMemoryError: Java heap space in Tomcat, Eclipse, JBoss, Websphere,...
Feed Title: Java67
Feed URL: http://java67.blogspot.com/feeds/posts/default?alt=rss
Feed Description: Java and technology tutorials, tips, questions for all programmers.
Latest Java Buzz Posts
Latest Java Buzz Posts by Javin Paul
Latest Posts From Java67

Advertisement
So you are getting  java.lang.OutOfMemoryError: Java heap space and run out of ideas on what to do, especially if you are user of any Java application and not the programmer or developer, this could be a tricky situation to be in. I receive lots of emails from Minecraft user ( a popular Java game), along with junior developers who are using Tomcat, JBoss, Websphere, Android user, who uses Android apps and several other Swing based Java desktop application user complaining about java.lang.OutOfMemoryError: Java heap space in there Mobile or Laptop. For users, there is not much they can do, but to restart the application. When you restart your application, previous memory get reclaimed by OS and it's a fresh start for your application, but you may lose data, which is not saved, especially if you are playing Java games like Minecraft.  For Junior programmers, they have some options, but hey need to understand that all this web and application server and IDEs like Eclipse, IntelliJ and Netbeans are Java programs and can be configured to run with more memory.  You just need to find out there startup script, from where they are launching java command to start the process and modify value of -Xmx JVM option to a higher value, subject to your machine configuration or simply add -Xmx JVM option if it's not already there. Before doing this it's better to understand some basics about Java Heap memory, why java.lang.OutOfMemoryError: Java heap space comes and what are JVM option to fix this error.
Read more »

Read: Guide of java.lang.OutOfMemoryError: Java heap space in Tomcat, Eclipse, JBoss, Websphere,...

Topic: Some more testing against different JDKs... Previous Topic   Next Topic Topic: IntelliJ IDEA 13 EAP 130.1486 is Available


Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2014 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us