aspose file tools*
The moose likes Performance and the fly likes How to open a file in GCViewer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "How to open a file in GCViewer" Watch "How to open a file in GCViewer" New topic
Author

How to open a file in GCViewer

java atpl
Greenhorn

Joined: Dec 03, 2009
Posts: 4
Hi All,
I am new in GCviewer.I downloaded the GCviewer in my system successfully but i am unable to test an application through GCviewer.
In GCViewer i found FILE--> OPEN FILE options is there,i am giving some files name but it is not adding.
If you have any idea please share me.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61788
    
  67

"java atpl", please check your private messages for an important administrative matter one final time before your account is closed.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ireneusz Kordal
Ranch Hand

Joined: Jun 21, 2008
Posts: 423
You must run your program with option -Xloggc:file:
java -jar -Xloggc:/tmp/gc.log program.jar
(on windows use backshlash (\) instead of shash (/) in the log file name: -Xloggc:c:\tmp\gc.log)
then open this file from GCViewer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to open a file in GCViewer