[ https://issues.apache.org/jira/browse/LUCENE-9241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17042960#comment-17042960 ]
Robert Muir commented on LUCENE-9241: ------------------------------------- Dawid, if you think Class.getResource has some crazy behavior like this on windows, then I think we should really open a bug with the JDK. If it is such a problem, shouldnt existing usages be removed, and it added to forbidden APIs, until the bug is fixed? https://github.com/apache/lucene-solr/search?q=getResource%28&unscoped_q=getResource%28 I merely tried to simplify the tests... that is really all this patch is about. > 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