Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Heap Memory

  1. #1
    Junior Member
    Join Date
    Nov 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Heap Memory

    Im new to java programming,I wrote a webservice in which i mostly deal with db operations using jdbc.I'm facing Heap space problems when the requests are too huge.
    Please guide me in resolving the heap problem with good tools


  2. #2
    Forum VIP
    Join Date
    Oct 2010
    Posts
    275
    My Mood
    Cool
    Thanks
    32
    Thanked 54 Times in 47 Posts
    Blog Entries
    2

    Default Re: Heap Memory

    All I have to say is Google It
    Last edited by Tjstretch; November 18th, 2011 at 12:40 AM.

  3. #3
    Junior Member
    Join Date
    Jan 2011
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Heap Memory

    You can increase heap size in Java by using parameter -Xmx and -Xms . for example see my post 10 points on Java heap Space

  4. #4
    Member
    Join Date
    Nov 2011
    Posts
    37
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: Heap Memory

    Hi,
    Yes javabuddy is right you should increase the heap size if you are using eclipse then go to eclipse installation directory then open the eclipse.ini file change the -Xmx value from there.

    Core java
    Last edited by mr.miku; January 11th, 2012 at 07:20 PM.

Similar Threads

  1. binary heap
    By dabdi in forum Collections and Generics
    Replies: 0
    Last Post: November 16th, 2011, 05:43 PM
  2. [SOLVED] Is there any way I can access heap memory faster?
    By FunkyTecknician in forum Java Theory & Questions
    Replies: 8
    Last Post: July 30th, 2011, 12:51 AM
  3. Memory Handling -de allocate memory in Java
    By 19world in forum Java Theory & Questions
    Replies: 4
    Last Post: June 15th, 2010, 05:05 AM
  4. Implementing a 5-heap with an array
    By TBBucs in forum Algorithms & Recursion
    Replies: 0
    Last Post: April 12th, 2010, 11:56 PM
  5. Out of memory - Java heap space
    By fraxx in forum Java Theory & Questions
    Replies: 4
    Last Post: November 24th, 2009, 05:26 AM