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 251244

Summary: The default heapsize is calculated too low
Product: platform Reporter: puce <puce>
Component: Launchers&CLIAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description puce 2015-03-17 22:02:34 UTC
According to the following wiki page, the default heapsize should be something like 1/3 or 1/4 of the RAM installed on the system:

http://wiki.netbeans.org/FaqSettingHeapSize

I'm working on a system with 32GB RAM. Most of the RAM is free. So the default RAM for NetBeans should be around 8GB to 11GB.

But NetBeans complains the memory is too low when the display in the toolbar shows that the currently available heapsize is less than 1GB.
Comment 1 Tomas Hurka 2015-03-27 09:48:18 UTC
You are right, but there is also maximum heap size limit, which 1GB for NetBeans 8.0. So the default setting is 1GB in your case. If this does not work well for you, since you are working with large projects/files, you can easily override the automatically selected limit. 

<http://wiki.netbeans.org/FaqSettingHeapSize> could be updated to better reflect actual  situation.