File tree Expand file tree Collapse file tree
key.core.infflow/src/test/java/de/uka/ilkd/key/informationflow
key.core/src/test/java/de/uka/ilkd/key/proof/runallproofs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public static ProofCollection automaticInfFlow() throws IOException {
3737 * perg = c.group("- one subprocess is created for each group
3838 * perFile-one subprocess is created for each file
3939 */
40- settings .setForkMode (ForkMode .PERGROUP );
40+ settings .setForkMode (ForkMode .NOFORK );
4141
4242 /*
4343 * Enable or disable proof reloading.
@@ -66,7 +66,7 @@ public static ProofCollection automaticInfFlow() throws IOException {
6666 *
6767 * Heap memory for subprocesses (like 500m or 2G)
6868 */
69- settings .setForkMemory ("4g " );
69+ settings .setForkMemory ("2g " );
7070
7171 /*
7272 * By default runAllProofs does not print a lot of information.
Original file line number Diff line number Diff line change 1111import java .util .ArrayList ;
1212import java .util .List ;
1313
14+ import com .github .javaparser .symbolsolver .javaparsermodel .JavaParserFacade ;
1415import de .uka .ilkd .key .proof .runallproofs .proofcollection .*;
1516
1617import org .slf4j .Logger ;
@@ -93,6 +94,9 @@ public TestResult runTest(JunitXmlWriter xml) throws Exception {
9394 for (TestFile testFile : testFiles ) {
9495 TestResult testResult = testFile .runKey ();
9596 testResults .add (testResult );
97+
98+ // weigl: avoid data memory leak
99+ JavaParserFacade .clearInstances ();
96100 }
97101 }
98102 case PERFILE -> {
You can’t perform that action at this time.
0 commit comments