Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OutOfMemoryError #17

Open
luoos opened this issue Dec 9, 2020 · 0 comments
Open

OutOfMemoryError #17

luoos opened this issue Dec 9, 2020 · 0 comments

Comments

@luoos
Copy link
Contributor

luoos commented Dec 9, 2020

When running iDFlakies on a project with a lot of tests, testrunner sometimes (not 100%) throws OutOfMemoryError.

Project: gradle/performance-comparisons
Branch: commons-lang (there is only one commit)
Version: testrunner-maven-plugin 1.0; idflakies 1.0.2 (I believe this issue also exists in the latest version 1.1)
Command: mvn testrunner:testplugin -Ddetector.detector_type=random-class-method -Ddt.randomize.rounds=10 -Ddt.detector.original_order.all_must_pass=false
Number of tests: 3120
Note: There are supposed to be 10 rounds, the error was thrown at the tenth round

ERROR (WRITE_ERROR_STDOUT_THROWABLE): org.apache.commons:commons-lang3:3.6-SNAPSHOT
ava.lang.OutOfMemoryError: Java heap space
	at java.util.ArrayList.<init>(ArrayList.java:183)
	at edu.illinois.cs.testrunner.runner.TestInfo.beforeInc(TestInfo.java:16)
	at edu.illinois.cs.testrunner.runner.TestInfo.updateFlakiness(TestInfo.java:50)
	at edu.illinois.cs.testrunner.runner.TestInfo.updateWith(TestInfo.java:39)
	at edu.illinois.cs.testrunner.runner.TestInfoStore.lambda$update$1(TestInfoStore.java:46)
	at edu.illinois.cs.testrunner.runner.TestInfoStore$$Lambda$77/531462687.accept(Unknown Source)
	at java.util.Map.forEach(Map.java:630)
	at edu.illinois.cs.testrunner.runner.TestInfoStore.update(TestInfoStore.java:44)
	at edu.illinois.cs.testrunner.runner.TestInfoStore.lambda$update$0(TestInfoStore.java:34)
	at edu.illinois.cs.testrunner.runner.TestInfoStore$$Lambda$76/1424610562.apply(Unknown Source)
	at scala.Option.foreach(Option.scala:257)
	at edu.illinois.cs.testrunner.runner.TestInfoStore.update(TestInfoStore.java:33)
	at edu.illinois.cs.testrunner.runner.SmartRunner.run(SmartRunner.scala:30)
	at edu.illinois.cs.testrunner.runner.Runner.runList(Runner.scala:28)
	at edu.illinois.cs.testrunner.runner.Runner.runList$(Runner.scala:27)
	at edu.illinois.cs.testrunner.runner.SmartRunner.runList(SmartRunner.scala:21)
	at edu.illinois.cs.dt.tools.detection.detectors.ExecutingDetector.runList(ExecutingDetector.java:50)
	at edu.illinois.cs.dt.tools.detection.detectors.RandomDetector.results(RandomDetector.java:42)
	at edu.illinois.cs.dt.tools.detection.detectors.ExecutingDetector$RunnerIterator.generateDetectionRound(ExecutingDetector.java:133)
	at edu.illinois.cs.dt.tools.detection.detectors.ExecutingDetector$RunnerIterator.generate(ExecutingDetector.java:150)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant