Intellij IDEA detected unusually high memory use

1. IDEA as shown in the figure

insert image description here

Two, solve

2.1 Modify IDEA's memory heap

The Java Virtual Machine (JVM) running IntelliJ IDEA allocates some predefined amount of memory. The default is platform dependent. If you experience slowdowns, you may need to increase the memory heap.

The heap size allocated for running the IDE is not the same as the heap size for compiling the application. If you want to configure the heap size for the build process of compiled code, open Settings Ctrl-Alt-S, select Build, Execution, Deployment | Compiler, and in the Shared Build Process Heap Size field

#1、点击Help->Change Memory Settings
#2、修改Maximum Heap  Size的值  (默认值1024)

insert image description here
insert image description here
insert image description here

2.2 Show Memory Indicator

Show Memory Indicator (Display Memory Display)
insert image description here
Show Memory Heap:
insert image description here
Show Memory Heap (detail)
insert image description here

3. Reference materials

Increase the memory heap of the IDE
IntelliJ IDEA modifies the memory size to make the idea run more smoothly.
toolbox-app
solves the problem of idea prompting Low Memory, The IDE is running low on memory and this might affect performance.
The idea opens the project but does not run, and after a while it displays Low Memory, The IDE is running low on memory and this might affect performance.

Guess you like

Origin blog.csdn.net/qyfx123456/article/details/131407305