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 - The default heapsize is calculated too low
Summary: The default heapsize is calculated too low
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Launchers&CLI (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-17 22:02 UTC by puce
Modified: 2015-03-27 09:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.