[ 
https://issues.apache.org/jira/browse/LUCENE-9232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17039023#comment-17039023
 ] 

Robert Muir commented on LUCENE-9232:
-------------------------------------

We can quantify daemon's value on a measly 2-core laptop:

without daemon:
{noformat}
BUILD SUCCESSFUL in 9s
1 actionable task: 1 executed
{noformat}

with daemon:
{noformat}
BUILD SUCCESSFUL in 4s
1 actionable task: 1 executed
{noformat}

This is why I open the issue. Keeping around multi-gigabyte process(es) in 
memory doesn't seem like its worth the trouble?

> disable gradle daemon by`default
> --------------------------------
>
>                 Key: LUCENE-9232
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9232
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Priority: Major
>
> We should disable the gradle daemon by default: the user can opt-in by 
> changing the properties file.
> If you forget to do this, you end out with leaked JVMs everywhere. It won't 
> just leak one daemon, it will leak multiple ones. 
> I ran {{ps}} on my laptop, sur0rised at 13:00 to find 2 leaked gradle jvms 
> when I hadn't used the thing since 07:00.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to