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

Dawid Weiss commented on LUCENE-9241:
-------------------------------------

I'm really indifferent about it - I was just pointing out the fact that such 
pattern (opening an url, not the stream) was (and is) a problem sometimes.

Which classloader is going to load tests is often beyond our control; windows 
is typically the evil here -- it has limited subprocess command argument line 
so gradle may (and I think this is coming in the next version) try to avoid the 
problem by forking a launcher which loads JARs in a separate classloader 
(arguments from file) rather than using system classpath option. 



> 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