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

Robert Muir commented on LUCENE-9241:
-------------------------------------

Attached patch. [~dawid.weiss] I didn't yet modify the gradle build, I figured 
lets just clean up the memory hungry tests first. It is almost possible to run 
with 64MB heap with the patch, but we'd need to use OfflineSorter for the 
kuromoji/nori dictionary builds, which is more involved.

> fix most memory-hungry tests
> ----------------------------
>
>                 Key: LUCENE-9241
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9241
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Robert Muir
>            Priority: Major
>         Attachments: LUCENE-9241.patch
>
>
> Currently each test jvm has Xmx of 512M. With a modern macbook pro this is 
> 4GB which is pretty crazy.
> On the other hand, if we fix a few edge cases, tests can work with lower 
> heaps such as 128M. This can save many gigabytes (also it finds interesting 
> memory waste/issues).



--
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