[
https://issues.apache.org/jira/browse/CAMEL-14428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoran Regvart resolved CAMEL-14428.
-----------------------------------
Fix Version/s: 3.1.0
Resolution: Fixed
We've added {{-XX:+ExitOnOutOfMemoryError}} to JVM arguments in Surefire
configuration.
> Terminate the JVM for OutOfMemoryError when running tests
> ---------------------------------------------------------
>
> Key: CAMEL-14428
> URL: https://issues.apache.org/jira/browse/CAMEL-14428
> Project: Camel
> Issue Type: Improvement
> Components: build system
> Reporter: Zoran Regvart
> Assignee: Zoran Regvart
> Priority: Major
> Fix For: 3.1.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When the tests run and they run out of memory we should terminate the JVM
> running the tests. The reasoning is that when out of memory issues occur they
> invalidate any test outcome and having the tests continue to run just
> prolongs the build and consumes resources.
> Thread on the [dev mailing
> list|https://lists.apache.org/thread.html/r378b5e4a2d6db4796e43683a57009a0d591a153234deba54d0d285e5%40%3Cdev.camel.apache.org%3E],
> [build mailing
> list|https://mail-archives.apache.org/mod_mbox/www-builds/202001.mbox/%3CED76C2EF-1AED-4046-8E6A-427E7B3C1A64%40apache.org%3E],
> [INFRA issue|https://issues.apache.org/jira/browse/INFRA-19751].
--
This message was sent by Atlassian Jira
(v8.3.4#803005)