[
https://issues.apache.org/jira/browse/NETBEANS-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16259932#comment-16259932
]
ASF GitHub Bot commented on NETBEANS-149:
-----------------------------------------
matthiasblaesing closed pull request #276: [NETBEANS-149] Max heap size removed
URL: https://github.com/apache/incubator-netbeans/pull/276
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/apisupport.harness/release/etc/app.conf
b/apisupport.harness/release/etc/app.conf
index b4e17f16b..dff3eb23a 100644
--- a/apisupport.harness/release/etc/app.conf
+++ b/apisupport.harness/release/etc/app.conf
@@ -21,7 +21,7 @@ default_mac_userdir="${HOME}/Library/Application
Support/${APPNAME}/dev"
# options used by the launcher by default, can be overridden by explicit
# command line switches
-default_options="--branding ${branding.token} -J-Xms24m -J-Xmx64m"
+default_options="--branding ${branding.token}"
# for development purposes you may wish to append:
-J-Dnetbeans.logger.console=true -J-ea
# default location of JDK/JRE, can be overridden by using --jdkhome <dir>
switch
----------------------------------------------------------------
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]
> Standard Max Heap Size is 64m - way too small
> ---------------------------------------------
>
> Key: NETBEANS-149
> URL: https://issues.apache.org/jira/browse/NETBEANS-149
> Project: NetBeans
> Issue Type: Bug
> Reporter: lbruun
> Assignee: lbruun
> Priority: Trivial
> Labels: pull-request-available
>
> A thing that have always annoyed me when creating applications on NetBeans
> Platform is that the max heap size is defined explicitly in the {{app.conf}}
> to 64 MB. As a default value, this is much too low.
> I don't know why the value was set. Apparently (from Mecurial's history) it
> dates back to 2005. Perhaps the idea is that if setting a ridiculously low
> value it will force the developer to change his application's {{myapp.conf}}
> file? But I'm guessing this wasn't the intention, even in 2005.
> Suggesting to remove both the min and the max heap from this file to make
> adoption of Platform easier for newbies and give them less surprises.
> (note: The 64 MB limit doesn't effect the IDE as it uses its own customized
> version of the {{.conf}} file)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)