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.

Bug 40802

Summary: Installer overwrites ide.cfg file with incorrect flags.
Product: installer Reporter: George Hernandez <ghernandez>
Component: CodeAssignee: George Hernandez <ghernandez>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description George Hernandez 2004-03-05 16:10:08 UTC
The netbeans installer overwrites the ide.cfg file
in order to add the jdkhome flag. In doing so, it
also adds the flags " -J-Xmx96m -J-Xss1024k
-J-Xms24m -J-Xverify:none " which should not have
been added. These flags must not be added to the
ide.cfg file. Adding the jdkhome flag is OK.
Comment 1 George Hernandez 2004-03-05 16:50:27 UTC
Added info as to the problems this causes:

* the presence of -J-ea and missing of -J-Xverify:none seriously impacts
  both startup time and runtime.  In development time we use the 
  different set of flags to catch more errors but it has the cost of
  worse performance

* the installer adds the -J-Xss1024k flag.  I have no idea what it is
  good/bad for.  We never introduced this flag ourselves.  No idea about
  performance, whatsoever impact
Comment 2 George Hernandez 2004-03-08 18:15:46 UTC
fixed in release 3.6.
Comment 3 zikmund 2004-06-10 13:07:21 UTC
Verified.