how to reduce spring boot memory usage?

后端 未结 3 760
独厮守ぢ
独厮守ぢ 2020-12-07 11:53

I\'m using spring boot to develope client application. and when run spring boot application(using fully executable jar), the memory usage is about 190M in x64 server, and 1

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-07 12:17

    You can use -XX:+UseSerialGC as JVM Argument to specify Serial Garbage Collector which is best choice to reduce Memory Heap .

提交回复
热议问题