0

I have a server side application which uses cachedThreadPool (Executors.newCachedThreadPool. But I can see a drop in perfomance due to frequent GCs which might be cleaning the threads from cachedpool. Is there any way to tune GC for this scenario?

Engineer
  • 1,436
  • 3
  • 18
  • 33
deepak
  • 45
  • 4

1 Answers1

0

I don't know your exact case. Garbage collection logs will be helpful.

You can find out garbage collection tuning here.

Good explanations about your case can possibly found here

Community
  • 1
  • 1
Sagar Gandhi
  • 925
  • 6
  • 20