Reputation: 1182
What are the key factors or good practices that reduce the garbage collection time in Java ?
All I know is increasing RAM could be one trick .
What are all the other features which effect it.
Upvotes: 2
Views: 130
Reputation: 500663
There are multiple factors:
Java Performance by Hunt et al has some good material on optimizing Java GC for throughput and latency.
If you have a practical problem to solve, using a memory profiler on your program is often a good first step.
Upvotes: 3