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.
MdrStorage.getContextAssocEndIndexName produces highly ineffective names used as a keys for a hashtable references from NameIndex. They typicaly look like: ae:1CCBE232-D0DE-11D8-ACAD-208A06A3AA77:000000000000008C:1CCBE232-D0DE-11D8-ACAD-208A06A3AA77:00000000000000931 It means that they contains twice the same storageId as a part of MofId string represantion. I found 460 instances if these String in my IDE (nb20040719) with two projects opened containg 6 files running on JDK1.5.0b55. Each one is 112 characters so we have more than 100kB occupied by them. Probably we can squeeze them significantly.
Fixed. Checking in src/org/netbeans/mdr/storagemodel/MdrStorage.java; /cvs/mdr/src/org/netbeans/mdr/storagemodel/MdrStorage.java,v <-- MdrStorage.java new revision: 1.62; previous revision: 1.61 done
Thanks, now they are 472 string with values like 'ae:2183:2195:2' Perhaps you can fix also other indexes. Although it is not big benefit now it will not cause creating of string version of mofid for them. 34 instances of ai:4AD8D42A-DBBE-11D8-8F69-963C2051AA77:0000000000000EB3:Java.Resource.name 21 insatnces of aibn:4778E02A-DBBE-11D8-8F69-963C2051AA77:0000000000000B0A 21 instances of aicp:4778E02A-DBBE-11D8-8F69-963C2051AA77:0000000000000B0A Number of instances depends on numbers of classpath entries I guess.
You are right. Now it is fixed. Checking in src/org/netbeans/mdr/storagemodel/MdrStorage.java; /cvs/mdr/src/org/netbeans/mdr/storagemodel/MdrStorage.java,v <-- MdrStorage.java new revision: 1.63; previous revision: 1.62 done