[jira] [Commented] (NETBEANS-1605) Remove the custom max heapsize calculation and cap at 1 Gb.

2019-03-17 Thread Laszlo Kishalmi (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16794604#comment-16794604
 ] 

Laszlo Kishalmi commented on NETBEANS-1605:
---

Well, no such consideration were made. It is merely happened as the initial 
memory sizes were too small for modern systems and that we tried to outsmart 
the JVM and gained nothing.

> Remove the custom max heapsize calculation and cap at 1 Gb.
> ---
>
> Key: NETBEANS-1605
> URL: https://issues.apache.org/jira/browse/NETBEANS-1605
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - LaunchersCLI
>Reporter: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
> Fix For: Next
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Currently NetBeans sets it max memory to the 1/5-th of physical memory or 1 
> Gb whichever is lower. This is unnecessary as the recent JVM heap is max 1/4 
> th of the system memory capping at 4Gb.
> I think the Java default would serve for the workloads nowadays.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1605) Remove the custom max heapsize calculation and cap at 1 Gb.

2019-03-17 Thread Eric Bresie (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16794490#comment-16794490
 ] 

Eric Bresie commented on NETBEANS-1605:
---

Just curious...was this based on java 8 memory management changes (meta space 
which kind of replaces/changes heap usage some) or was there something else?

https://stackoverflow.com/questions/20563047/jdk-8-memory-layout-and-garbage-collection


> Remove the custom max heapsize calculation and cap at 1 Gb.
> ---
>
> Key: NETBEANS-1605
> URL: https://issues.apache.org/jira/browse/NETBEANS-1605
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - LaunchersCLI
>Reporter: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
> Fix For: Next
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Currently NetBeans sets it max memory to the 1/5-th of physical memory or 1 
> Gb whichever is lower. This is unnecessary as the recent JVM heap is max 1/4 
> th of the system memory capping at 4Gb.
> I think the Java default would serve for the workloads nowadays.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists