This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The sequence: open project, open several files, close project causes memory leaks. On subsequent iterations (with the same project!!) used memory continues to grow. Steps to repeat are as follows. Create a project based on MySQL source code. Open several files (I opened row0mysql.c, row0row.c, sql_acl.c, AbortAll.hpp, ha_archive.h), wait until they are ready, error highlighting in these files done (read/green square at the upper right corner appears). Close the project. Wait about 10 seconds (for all background processes to finish) Note that 89 Mb is occupied. Repeat the steps above - 104 Mb is occupied. Repeat the steps above yet one more time - 114 Mb is occupied.
After fixing #138611 and workaround for #139980 (http://hg.netbeans.org/main/rev/b79482bc9d6e) the situation improved dramatically. Since it still needs investigation, I'm just downgrading this to P3.
Memory usage during opening and closing MySql project. Open MySql | Open files | Close files | Close MySql 74 Mb 121 Mb 132 Mb 84 Mb 80 130 91 70 97 157 128 86 122 106 104 72 124 130 118 90 95 159 149 79 104 137 125 107 110 157 153 131 (something hanged)
New results: Start IDE 28 Mb Open MySql | Open files | Close files | Close MySql Mb Mb Mb Mb 81 103 90 36 55 73 64 29 55 69 61 29 55 66 58 30 56 70 58 31 57 71 50 32 58 72 57 32 We loose less then 1 Mb per round. Also process became much faster and more stable.