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 209729

Summary: Decrease MaxPermSize on Win running on 32-bit JVM
Product: platform Reporter: Jiri Rechtacek <jrechtacek>
Component: Launchers&CLIAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED FIXED    
Severity: normal CC: anebuzelsky
Priority: P2 Keywords: PERFORMANCE, PLAN
Version: 7.2   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 206751    

Description Jiri Rechtacek 2012-03-19 11:40:42 UTC
Since NetBeans 7.2 provides 64-bit launcher for Windows (http://hg.netbeans.org/main-golden/rev/34fef02e9b05) we can balance -XX:MaxPermSize according to what version JVM is running.

Proposal:
Windows 32-bit - _no change_
-Xmx is RAM/5, min 96m, max 384m
-XX:MaxPermSize is 256m

Windows 64-bit - 64-bit JVM  _no change_
-Xmx is RAM/5, min 96m, max 768m
-XX:MaxPermSize is 384m

Windows 64-bit - 32-bit JVM  _decreased_
-Xmx is RAM/5, min 96m, max 384m (previously max 768m)
-XX:MaxPermSize is 256m (previously 384m)

On Linux - _no change_:
-Xmx is RAM/5, min 96m, max 768m
-XX:MaxPermSize is 384m
Comment 1 Jiri Rechtacek 2012-03-21 23:30:36 UTC
core-main/rev/f2a876b031d7
Comment 2 Quality Engineering 2012-03-24 11:03:46 UTC
Integrated into 'main-golden', will be available in build *201203240400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f2a876b031d7
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #209729: Decrease MaxPermSize on Win running on 32-bit JVM