2023.1 Memory Leak?
已回答
I have not installed any additional plugins, started any services, or made any modifications. I simply opened the project.
Is this phenomenon considered normal?
请先登录再写评论。
Memory consumption really depends on the complexity of your project and what kind of application you are developing.
However, in general that kind of memory consumption (~2 GB) is not unusual on Windows. IntelliJ is rather demanding in terms of memory.
When running 2023.1.3 (latest stable release) on idle (no third-party plugins installed), with a pretty simple project - it is consuming around 2 GB of RAM, on my side.
However, the IntelliJ application can't consume more than the configured maximum heap size (-Xmx, default value is 2G). When this limit is exceeded, an OutOfMemory error is shown. Do you see any errors related to memory usage in the IDE?
On the other hand Windows task manager shows the total memory usage of the Java process - which includes heap, resources, stack etc.
To see the actual consumption of memory by IntelliJ - right-click on the lower right corner of the IDE (status bar) > Memory Indicator:
However, if you are experiencing slowness and poor performance when working with the IDE, it could indicate a problem with the memory usage. In this case it is needed to provide us with some diagnostic information so that we can troubleshoot the memory usage issue further:
You can zip all of those files and upload them to: https://uploads.jetbrains.com (just provide the uploaded file ID). Thanks.
Thank you. I will continue to observe it.