emilianbold commented on issue #1007: [NETBEANS-1605] Removed NetBeans max HeapSize heuristics. URL: https://github.com/apache/incubator-netbeans/pull/1007#issuecomment-437689613 For reference, the JVM default is documented here: https://docs.oracle.com/javase/8/docs/technotes/guides/vm/gctuning/parallel.html#default_heap_size although it's still not clear enough for me... This commit is an improvement versus the status quo, but how many machines with under 4GB of RAM use NetBeans? And for those over 4GB we ask the same 1GB like the JVM. It's a draw. I think we should actually ask for more RAM compared to the default as we were too conservative. Considering 8GB is not so rare nowadays on a machine, I think asking 50% of the memory with a cap at 4GB sounds much better. If we apply this commit we lose a way to increase the max heap. Thus, I vote not for removing our heuristics, but for asking for more compared to the JVM default. The other problem is that we have no nice way of allowing the user to increase the max heap size. Somehow editing a deep .conf file doesn't seem very user friendly.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
