aspose file tools
The moose likes Java in General and the fly likes stringbuffer == jvm heap size Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "stringbuffer == jvm heap size" Watch "stringbuffer == jvm heap size" New topic
Author

stringbuffer == jvm heap size

lax rao
Greenhorn

Joined: Nov 30, 2005
Posts: 3
can any one tell me wat will happen when the stringbuffer size is equal to jvm heap size, and when will we get outofmemory exception when we use stringbuffer variable, recently I got this exception coz my data is huge means 512mb. Than wat shuld I do, I can't change input data, how culd I overcome it.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32611
    
    4
Like most things on these fora, somebody else has done it. There was a thread about it about a week ago. Here. See whether that helps.
 
I agree. Here's the link: jrebel
 
subject: stringbuffer == jvm heap size
 
Similar Threads
Help! OutOfMemoryError!
Can JVM Expand at the run time?
JVM Out Of Memory...How to increase Heap Size??
increasing java heap size
Websphere performace tuning