Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ls -Xmx memory limit for Intellij IDEA shared between open project windows?

Intellij IDEA memory settings may be customized by editing -Xmx option at idea64.vmoptions. Let's say, I set

-Xmx2g

and then open 5 different projects at the same time. Can IDEA eventually consume up to ~10gb of memory, or it will be limited to 2gb+some overhead?

At memory usage monitor in the lower right corner of IDEA window, I see the different value of allocated memory for each project. On the other hand, these values seem to correlate over time.

like image 750
Dmitriusan Avatar asked Jun 04 '18 09:06

Dmitriusan


1 Answers

It's the same single process running in the same JVM, so the limit is for all the windows/projects.

like image 101
CrazyCoder Avatar answered Nov 15 '22 03:11

CrazyCoder