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

Robert Muir commented on LUCENE-10195:
--------------------------------------

{quote}
> I would be happy to just configure a 10MB fixed loopback mount for this cache 
> as a workaround, so that I generate the jflex DFA less often
There is no way to do that out of the box
{quote}

No, i mean I would do it myself, and configure {{/home/rmuir/.gradle/caches/}} 
in {{/etc/fstab}} to be 10MB. So it would run gradle out of disk space if it 
tried to write any more than that.

I really don't want size-unbounded caches storing stuff or trashing my SSD. I 
keep all my caches on a short leash, it is pretty easy since most apps behave 
and store stuff under {{~/.cache}}. So I already mount this as tmpfs with a 
size limit. And I pass flags such as {{chromium --disk-cache-size}} when apps 
have a way to explicitly bound the size.

> Gradle build speed improvement
> ------------------------------
>
>                 Key: LUCENE-10195
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10195
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Jerome Prinet
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Increase Gradle build speed with help of Gradle built-in features, mostly 
> cache and up-to-date checks
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to