70_HR_FIX of issue #196467
Marek Fukala <[email protected]> Fri, 18 Mar 2011 16:33:56 +0100
| Newsgroups | gmane.comp.java.netbeans.reviewers |
|---|---|
| Message-ID | <[email protected]> |
http://netbeans.org/bugzilla/show_bug.cgi?id=196467 fix: http://hg.netbeans.org/web-main/rev/54d80248ab72 Bug 196467 - static field ValidationTransaction.preloadedSchemas holds about 10MB of unGCable memory Description: Html validator loads the html schemas during the initialization. The schemas occupies about 10MB of memory which is never GCed even if the needed. Justification: Performance (memory) impact Fix: In short the mentioned static field now holds a group of Schema instances which wraps the original instancies. The delegates are held softly and created lazily. Risk: Moderate, a code review and testing is necessary.