A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Java in General
Author
Heap Size
Madhumitha Baskaran
Ranch Hand
Joined: Feb 27, 2010
Posts: 62
posted
May 26, 2010 04:43:02
0
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
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
I like...
posted
May 26, 2010 04:48:29
0
Please don't post the same question in more than one forum.
JavaRanch FAQ
HowToAskQuestionsOnJavaRanch
Madhumitha Baskaran
Ranch Hand
Joined: Feb 27, 2010
Posts: 62
posted
May 26, 2010 04:58:03
0
I am not able to find out the appropraite forum for this question. Sorry
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32654
4
posted
May 26, 2010 07:33:53
0
Madhumitha Baskaran wrote:
I am not able to find out the appropraite forum for this question. Sorry
Not here. Java in General more likely. Moving thread. It can sit alongside its closed twin.
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Heap Size
Similar Threads
JVM Heap Size
Heap Size
Heap Dump Issue POI Jar
Tomcat and Optimizeit throwing Out of memory error
OutOfMemoryError
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter