File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 63868

Moved to the IDEs forum.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: how to know the heap size ?
It's not a secret anymore!