• Post Reply Bookmark Topic Watch Topic
  • New Topic

Verbose GC  RSS feed

 
Vyas Sanzgiri
Ranch Hand
Posts: 686
Chrome Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How safe is verbose gc in production environment? What options are good to use? or does it put a lot of load on the server? I could nt find this info anywhere

Thanks
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would really depend on what other things the JVM is doing that you're comparing against. In a great many applications that access databases or network connections, the overhead of writing GC info to standard out will be very negligible. In some other applications that are entirely CPU-bound and generate a large number of objects, verbose GC may have a noticeable effect. Really, the best way to answer a question like this is to try it both ways, and measure the results. It's very hard to give a general answer for this, and easy to just try it and see.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!