This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes how to know the 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 » Servlets
Bookmark "how to know the heap size ?" Watch "how to know the heap size ?" New topic

how to know the heap size ?

Arya Devan

Joined: Feb 07, 2006
Posts: 28
hi all,
i m new to java/j2ee and for that sake any IDE .. rite now i hav started using eclipse. at times, it gives me an error that says i m out of heap size memory and that i hav to use the -vmargs -xmx in command line option . wat is this heap memory ? and how do i know how much i m allocated currently and if i really need an increase in the heap size and if yes, the step by step procedure to do it...

thanx in advance.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60774

Moved to the IDEs forum.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: how to know the heap size ?
Similar Threads
Difference between Heap memory size and RAM
what is the default size of java heap
Help needed JVM crashes while running the following program
how to know the heap size ?
how to set free my heaped memory ? after java.lang.OutOfMemoryError: Java heap space