• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to open a file in GCViewer

 
java atpl
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64961
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"java atpl", please check your private messages for an important administrative matter one final time before your account is closed.
 
Ireneusz Kordal
Ranch Hand
Posts: 423
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic