You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/11/11 18:19:16 UTC

[GitHub] matthiasblaesing commented on issue #1007: [NETBEANS-1605] Removed NetBeans max HeapSize heuristics.

matthiasblaesing commented on issue #1007: [NETBEANS-1605] Removed NetBeans max HeapSize heuristics.
URL: https://github.com/apache/incubator-netbeans/pull/1007#issuecomment-437692241
 
 
   The documentation does not seem to be correct. From my machine:
   
   ```
   matthias@athena:~$ java -version
   java version "1.8.0_181"
   Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
   Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
   matthias@athena:~$ java -XshowSettings 2>&1 | grep Heap
       Max. Heap Size (Estimated): 3.46G
   matthias@athena:~$ 
   matthias@athena:~$ bin/jdk-11/bin/java -version
   openjdk version "11" 2018-09-25
   OpenJDK Runtime Environment 18.9 (build 11+28)
   OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
   matthias@athena:~$ bin/jdk-11/bin/java -XshowSettings 2>&1 | grep Heap
       Max. Heap Size (Estimated): 3.89G
   matthias@athena:~$ 
   ```
   
   That is also verified by using JMX on a jrunscript session. The java.lang/Memory/HeapMemoryUsage shows a maximum HeapMemoryUsage of 4173332480.
   
   Given, that the permanent generation was moved offheap, 1/4 of available ram sound like a reasonable size.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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