Java系统中GC频繁启动是什么原因?
PHPz
PHPz 2017-04-17 14:24:38
0
3
391

我这两天在面试一个工作,他们好像遇到问题,可能现在的系统代码质量不高,GC每3秒钟启动一次,他问我是不是修改JVM的参数可以解决,调正GC的young、old、permanent的大小?我过两天要去面试,想准备一下,有人知道这是为什么吗?有什么解决的途径?

PHPz
PHPz

学习是最好的投资!

reply all(3)
刘奇

It is probably caused by the program consuming a large amount of memory.

大家讲道理

How about changing the garbage collector

Ty80

1. Check whether there is a memory leak. 2. Check whether the jvm parameters are configured properly

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!