File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes resource usage after setting -verbosegc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "resource usage after setting -verbosegc" Watch "resource usage after setting -verbosegc" New topic

resource usage after setting -verbosegc

chu martin

Joined: Sep 27, 2006
Posts: 4
After I set the parameter of -verbosegc in my JVM, will it consume a lot of computer resources such as CPU, memory ?
Since it will monitor the heap usage all the time and print into the log, so I think it should take up more resources, then I just wonder whether it will affect other application currently running in the server.

How much more CPU or memory will it take up after using this parameter comparing with that without it ?
Edwin Dalorzo
Ranch Hand

Joined: Dec 31, 2004
Posts: 961
Sounds like a question for Mr Heisenberg's and his uncertainty principle, that would well imply that observing the state of the system may in fact change it.

I agree. Here's the link:
subject: resource usage after setting -verbosegc
It's not a secret anymore!