|
Java.OutofMemory error
|
|
07-24-2007, 10:13 PM
Post: #1
|
|||
|
|||
|
Java.OutofMemory error
hi
i got Java.OutofMemory exception . How to solve this error? Thanks Arunkumar |
|||
|
07-25-2007, 02:05 PM
Post: #2
|
|||
|
|||
|
RE: Java.OutofMemory error
OurJava Program is running under theJVM, jvm is heart of the java,jvm is control the whole java program. jvm is allocating the memory space for every java instance . the default memory size is 64 mb . if any java instance exceed this size then Java.OutOfMemoryException will occurs .But we can change the default jvm size in runtime .
if you want allocate 250 mb then Syntax java -Xmx250m ClassFileName ex : java -Xmx500m -jar soundtracker.jar java -Xmx200m HelloWorld |
|||
|
« Next Oldest | Next Newest »
|

Search
Member List
Calendar
Help


