[
https://issues.apache.org/jira/browse/NETBEANS-3041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shevek reopened NETBEANS-3041:
------------------------------
Logic in PR-1501
https://github.com/apache/netbeans/pull/1501/files?utf8=%E2%9C%93&diff=unified&w=1#diff-1054443aad556a1faa1f1d5342d9eb17R831
does not behave the same as gradle does:
1. If different -Xmx values are specified in the project vs in the global home,
the global should take precedence.
2. Bug: If the projectdir exists, the system gradle.properties will not be
loaded. BUG!
3. Previous bug REGARDLESS of whether there is a gradle.properties in the
project dir.
Please can netbeans follow the same logic as
https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_configuration_properties
> NetBeans gradle invoker not honouring org.gradle.jvmargs
> --------------------------------------------------------
>
> Key: NETBEANS-3041
> URL: https://issues.apache.org/jira/browse/NETBEANS-3041
> Project: NetBeans
> Issue Type: Bug
> Reporter: Shevek
> Assignee: Laszlo Kishalmi
> Priority: Major
> Labels: pull-request-available, pull-requests-available
> Fix For: 11.2
>
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> cat .gradle/gradle.properties
> org.gradle.jvmargs=-Xmx8192m -XX:+PreserveFramePointer
> This property is not honoured by NetBeans when it starts a Gradle daemon, so
> I end up with a Gradle daemon using the "default" amount of RAM, which on
> some machines is too little, and on some is too much (it's 25% of system RAM).
> I'm guessing this is because it's loaded by the wrapper, not the daemon,
> because other properties like org.gradle.daemon.idletimeout=360000 are
> honoured by NB's gradle daemon.
> The other effect of not loading that property is that I get multiple gradle
> dameons running, each consuming 16Gb of RAM, because they're "incompatible",
> so fixing this will save me about 16Gb of RAM per system.
> I'm a bit shaky on this bug report, but ... I think this is what's going on.
> (footnote: oh dear, Shevek broke something again, what on earth is that idiot
> doing with NetBeans and why can't Shevek just behave like a "normal"
> developer :D :D)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
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