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

ASF subversion and git services commented on LUCENE-9160:
---------------------------------------------------------

Commit 16f240e7405741c9e91d3edeb00b9d2651f0c34b in lucene-solr's branch 
refs/heads/branch_8x from Robert Muir
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=16f240e ]

LUCENE-9160: add params/docs to override jvm params in gradle build, default C2 
off in tests.

Adds some build parameters to tune how tests run. There is an example
shown by "gradle helpLocalSettings"

Default C2 off in tests as it is wasteful locally and causes slowdown of
tests runs. You can override this by setting tests.jvmargs for gradle,
or args for ant.

Some crazy lucene stress tests may need to be toned down after the
change, as they may have been doing too many iterations by default...
but this is not a new problem.


> override heap / jvm params for tests in gradle build
> ----------------------------------------------------
>
>                 Key: LUCENE-9160
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9160
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Robert Muir
>            Priority: Major
>             Fix For: master (9.0)
>
>         Attachments: LUCENE-9160.patch, LUCENE-9160.patch
>
>
> Currently the gradle.properties that is generated lets you control the heap 
> and flags for the gradle build jvms.
> But there is no way to control these flags for the actual forked VMs running 
> the unit tests. For example, minHeap is hardcoded at 256m and maxHeap at 
> 512m. 
> I would like to change minHeap to 512m as well, for a fixed heap, and set 
> some other jvm flags, such as {{-XX:+UseParallelGC}} so that my tests are not 
> slow for silly reasons :)
> I think it is stuff jenkins CI would need as well. 



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