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
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.
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
All I have to say is Google It
Last edited by Tjstretch; November 18th, 2011 at 12:40 AM.
You can increase heap size in Java by using parameter -Xmx and -Xms . for example see my post 10 points on Java heap Space
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.