does EAP 107.18 use a lot more memory?

On OSX I am now finding the after a while IntelliJ uses over 1GB of real memory and 1.63 GB of virtual memory

IntelliJ IDEA 97293 hjs 41.9 62 1.21 GB 1.63 GB 52.5 MB

It use to always stay under 300MB which I found quite amazing too. Do others find that the memroy requirements
have increased recently?

Or is this a perhaps due to my setting -Didea.scala.usetrylock=true which I did due to a freezing problem described in

http://youtrack.jetbrains.net/issue/SCL-3071?projectKey=SCL&query=commenter%3A+me



Henry

 

0
Avatar
Permanently deleted user

What is the -Xmx value?
Could you please upload memory snapshot?

0

It is difficult to be sure of the arguments on OSX, at least I can't find a way for ps to show it to me

$ ps -v -E -ww -p 28588

  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND

28588 S     64:48.04   0   0      0  4729952 746236     -        0  36.2  8.9 /Volumes/Dev/Developer/Applications/DevApps/IdeaX-IC-107.18.app/Contents/MacOS/idea -psn_0_2085373 PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/Users/hjs/Programming/Scala/latest/bin TMPDIR=/var/folders/H2/H2RF--fS2RWlQk+8ZRbuSU+++TM/-Tmp-/ SHELL=/bin/bash HOME=/Users/hjs USER=hjs LOGNAME=hjs SCALA_HOME=/Users/hjs/Programming/Scala/latest SSH_AUTH_SOCK=/tmp/launch-oSNrgl/Listeners Apple_PubSub_Socket_Render=/tmp/launch-CSmoyx/Render COMMAND_MODE=unix2003 __CF_USER_TEXT_ENCODING=0x1F6:0:0

If I look in IdeaX-IC-107.18.app/Contents/Info.plist  I find

    <key>VMOptions</key>
      <string>-Didea.scala.usetrylock=true -ea -Xverify:none -Xbootclasspath/a:../lib/boot.jar</string>

      <key>VMOptions.i386</key>
      <string>-Xms128m -Xmx512m -XX:MaxPermSize=250m -XX:ReservedCodeCacheSize=64m</string>

      <key>VMOptions.x86_64</key>
      <string>-Xms128m -Xmx800m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=64m -XX:+UseCompressedOops</string>

Perhaps I should try forcing it to run in 32 bit mode?

0

I am not sure how to upload a memory snapshot.

0
Avatar
Permanently deleted user

As to -Xmx, you can change the value in Info.plist

Also, please have a look here http://devnet.jetbrains.net/docs/DOC-192 for taking snapshots and setting memory levels instructions

You can upload information here: ftp.intellij.net/.uploads

0

In the doc-192 it says that the memory snapshot tools do not work in 64 bit mode. Is that still true?  It looks like by default this version of IntelliJ runs in 64 bit mode.

I am going to see if setting the LSArchitecturePriority helps me to move to 32 bit mode.

    <key>LSArchitecturePriority</key>
    <array>
      <string>x86_32</string>
      <string>i386</string>
    </array>

0

请先登录再写评论。