для самой идеи %IDEA_HOME%\bin\idea.exe.vmoptions
-Xms512m -Xmx512m
для модуля проекта Run/Debug Configuration > %настраиваемый модуль% > Runner > VM parameters
<code>
<blockcode>
<foo>
[foo]
Links to specified hosts will have a rel="nofollow" added to them.
More information about formatting options
Intellij IDEA
для самой идеи
%IDEA_HOME%\bin\idea.exe.vmoptions
-Xms512m
-Xmx512m
для модуля проекта
Run/Debug Configuration > %настраиваемый модуль% > Runner > VM parameters