nika 110.365 mem leak

Using nika 110.365 on OSX 10.6.8 with built-in java as below shows the same memory leak as on the current production 10.5.2:  

I open an android project (which has 2 additional android-library projects as contained, dependent modules) and work for a few minutes.  Close project such that no other project is open.  click to GC.  399Mb of  512Mb max is held onto somehow.  I'm using 32-bit mode, with

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

nika apparently only allows one project open at a time?  It would shut whatever I had opened when I attempted to open another.

I can post another mem dump, but can you assure me that it will be used?  The last one I did got no response, and it is difficult to get a successful upload of >100Mb to your ftp server.

thanks,

larry



$ java -version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

7 comments
Comment actions Permalink

Hi Larry,

Just tried to reproduce your use-case:

  1. Opened a small java/groovy project at IJ v.11 beta;
  2. Started memory profiling;
  3. Closed the project;
  4. Forced GC;


Results:

  • memory consumption is reduced from ~125M to ~45M;
  • the memory snapshot shows that no significant memory amount is used by IJ;


There is a possible case that your problem is environment-specific, e.g. third-party plugins that hold references to the stuff from the closed project, thus, don't allow it to close. Am I right understaning that you experience problems with uploading your snapshots to our ftp server? Can you provide more details about that? Is it possible to share the snapshot at your side for us being able to download it?

Regards, Denis

0
Comment actions Permalink

hi Denis,

Thanks for the effort.  The project I'm using is an Android project, and it is quite large.

I use absolutely no 3rd-party plugins, and a relatively sparse set of Intellij-supplied plugins.

Yes, I can try to host or supply a 3rd party site for the upload of a mem snapshot--can you guarantee that a developer will look at it?

thanks,

larry

0
Comment actions Permalink

Sure, I'll look into that myself.

Denis

0
Comment actions Permalink

Can you see if you can downoad this 85Mb mem dump?

http://dl.dropbox.com/u/8699844/IU-110.365_lhamel_23.11.2011_11.05.18.zip

That is Nika holding onto about 240Mb with NO projects open, after about 5 minutes of work on a few android projects, searching, editing a bit, closing/reopening, building android, looking at Android logcat.  No external plugins; very few Intellij plugins, but indeed the Android plugin.

I can reproduce the same against production 10.5.2.

Please try to find the cause!  I can send the project on a private email if you like; let me know.

thanks,

larry

0
Comment actions Permalink

Thanks for the dump - it shows the problem.

Feel free to track the progress of IDEA-77543

Denis

0
Comment actions Permalink

hi Denis,

Thanks, it makes my day that you were able to confirm the issue.

One question:  that bug report cites Nika only.  This mem leak is also present in the current production, where it is hurting me every day.

Is there a way to extend the issue to include a reference to 10.5.2?

thanks,

larry

0
Comment actions Permalink

Sure, I've added 10.5.2 to 'affected versions' of the ticket.

Denis

0

Please sign in to leave a comment.