views:

1337

answers:

4

I am using IntelliJ IDEA 9. In the IDEA window On the bottom right corner I see the current memory usage, typically "224M of 254M" How do I give more memory to Idea so it may read like "224M of 512M" ?

Thank you.

A: 

Edit the following file:

idea/bin/idea.vmoptions
armandino
+1  A: 

In your IntelliJ Idea folder modify idea.exe.vmoptions.

See http://blogs.jetbrains.com/idea/2006/04/configuring-intellij-idea-vm-options/

Pierre-Antoine LaFayette
Sorry, I forgot to mention that I am on MacOS. I don't see this file idea.exe.vmoptionsSpecific number shouldn't matter but it is 10.5Thanks
VijayKumar
+3  A: 

On Mac, $IDEA_HOME/Contents/Info.plist

 ~: grep --context=5 Xmx /Applications/Maia-IU-94.426.app/Contents/Info.plist 
            <string>true</string>
            <key>apple.awt.fullscreencapturealldisplays</key>
            <string>false</string>
        </dict>
        <key>VMOptions</key>
        <string>-Xms128m -Xmx912m -Dfile.encoding=UTF-8 -XX:MaxPermSize=250m -ea -agentlib:yjpagent=disablej2ee,disablecounts,disablealloc,sessionname=IntelliJIdea90 -Xbootclasspath/a:../lib/boot.jar</string>
        <key>WorkingDirectory</key>
        <string>$APP_PACKAGE/bin</string>
    </dict>
</dict>
</plist>

On Windows/Linux, %IDEA_HOME%\bin\idea.vmoptions

retronym
+1  A: 

Guys I found the answer: On the MacOS find the folder where Idea is installed. then open file Contents/Info.plist

Go all the way to the bottom and find the section that looks like this: VMOptions -Xms64m -Xmx512m -XX:MaxPermSize=128m -Xbootclasspath/p:

VijayKumar

related questions