Java program is getting slower after running for a while

前端 未结 7 1406
天涯浪人
天涯浪人 2021-02-04 03:20

I have a java program that is a typical machine learning algorithm, updating the values for some parameters by some equations:

for (int iter=0; iter<1000; ite         


        
相关标签:
7条回答
  • 2021-02-04 04:06

    In my experience JAVA needs enough memory and 2+ CPU. Otherwise CPU usage will be very extensive when GC starts running.

    0 讨论(0)
提交回复
热议问题