How to optimize memory in JAVA?

Revision en1, by lynsrz, 2017-01-15 09:09:02

Hello guys , I want to know how do you optimize the runtime memory of a java program? I solved a problem and it took 20100KB , while memory it took for some programmer's code was 0KB .

Also, Is there anyway I could determine the memory usage and time in IntelliJIdea? Thanks in advance :)

Tags java 8, intellij idea, java memory usage, memory management

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English lynsrz 2017-01-15 09:09:02 426 Initial revision (published)