wood burning stoves 2.0*
The moose likes Java in General and the fly likes Heap Size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Heap Size

Madhumitha Baskaran
Ranch Hand

Joined: Feb 27, 2010
Posts: 66
Hi ,
I am calling a web service and getting some data out of it. As the data is very huge, it throws Java Heap Size:Out of memory error.

So i am setting maximum heap size as 100 MB after which it worked properly.

But is there any way to determine maximum heap size depending on the size of the output.?

Is there any calculation available for finding optimal heap size?

Please help me

Thanks,
Madhu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Heap Size
 
Similar Threads
Heap Size
OutOfMemoryError
JVM Heap Size
Heap Dump Issue POI Jar
Tomcat and Optimizeit throwing Out of memory error