This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JNLP and Web Start and the fly likes Log Garbage Collection in Java Web Start Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Log Garbage Collection in Java Web Start" Watch "Log Garbage Collection in Java Web Start" New topic
Author

Log Garbage Collection in Java Web Start

Sebastian Albrecht
Greenhorn

Joined: Apr 13, 2011
Posts: 2
I want to log the GCs in my Java Webstart Apps.

I already tried the option:in the jnlp file, but neither in the java console nor in the specified file gc.log appears any logging when i execute System.gc().

I also tried an absolute file-/pathname.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Have you tried configuring those options in the Java Control Panel on the client machine?
Sebastian Albrecht
Greenhorn

Joined: Apr 13, 2011
Posts: 2
Yes i tried, but why do my entered args under 'Runtime-Parameter' always disappear when i close the javaws control panel?
 
 
subject: Log Garbage Collection in Java Web Start