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 testing show that we can reduce memory footprint if we compile with smaller amount of debug information. As we do not want to loose all debugging data it seems acceptable to add only 'source,lines' options and avoid generating infos for vars. This reduces size of compiled classes by 15-18% resulting in smaller size of netbeans so we have smaller VSZ of process. Then we have smaller RSS when classes are loaded as they are smaller (and less I/O) together with better utilization of PermGen (I saw 1.5MB saving with NB dev build running on JDK 1.5.0u2 with some trivial projects + Java editor before and after build). The idea is to produce official daily build with this limited information and have a default config used for build from sources generating full debug info so that developers can debug NB without problem.
Passing to Michal who agreed to implement it in a way suggested by Jesse - full debuginfos for source builds, only source,lines in published builds. Thanks.
The support for this has been added to the build system. NB production build system will altered soon. Checking in common.xml; /cvs/nbbuild/templates/common.xml,v <-- common.xml new revision: 1.5; previous revision: 1.4 done Checking in projectized.xml; /cvs/nbbuild/templates/projectized.xml,v <-- projectized.xml new revision: 1.50; previous revision: 1.49 done reassigning to proper person. Rudo please change the production build. thanks -M
Adding to Michal's commit: committed * Up-To-Date 1.3 apisupport/harness/README committed * Up-To-Date 1.3 apisupport/harness/harness-build.xml
daily builds since May 4 are smaller. du -sk reports this: 108528 nb200505031800 100268 nb200505041800 100276 nb200505081800