This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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?
 
Don't get me started about those stupid light bulbs.
 
subject: Log Garbage Collection in Java Web Start
 
Similar Threads
Run commands in a Java class
Application deployed on JBoss 6.1 crashes
Garbage collection Log in tomcat
The host is unknown to the system
jsp error