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.
In my running IDE I see some insances of BufferedWriter referenced through ASLog. Typicall chain looks like this: org.netbeans.modules.javacore.parser.ElementInfo$CachedReference.CACHE-> org.netbeans.modules.javacore.parser.ElementInfo$1@1029-> [Ljava.util.HashMap$Entry;@2a0b-> java.util.LinkedHashMap$Entry@4917-> org.netbeans.modules.javacore.parser.MDRParser@8a7c-> org.netbeans.lib.gjast.ASTopLevel@f67f-> org.netbeans.lib.gjast.ASParser$BridgeContext@18eb3-> org.netbeans.lib.gjast.ASScanner@23974-> org.netbeans.lib.gjast.ASLog@32320-> java.io.PrintWriter@4404d-> java.io.BufferedWriter@4edce It seems to me that we don't need them as they are created in com.sun.tools.javac.util.Log that sends errors/warnings/messages to them but we override this behaviour in ASLog so we keep 16400+40+40 bytes per ASLog in our parsed data but not use these objects.
Reassigning to Tom for evaluation.
Created a DevNullWriter class to replace the BufferedWriter used by Log.