From 41fe7087b5b061e93d43fce3a31871b40ce54ea0 Mon Sep 17 00:00:00 2001 From: Emmanuel Bourg Date: Mon, 9 Feb 2015 13:48:34 +0000 Subject: [PATCH] Set the amount of memory used by the benchmark git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1658398 13f79535-47bb-0310-9956-ffa450edef68 --- src/test/java/org/apache/commons/csv/CSVBenchmark.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/csv/CSVBenchmark.java b/src/test/java/org/apache/commons/csv/CSVBenchmark.java index e2b38e7f..31e18f49 100644 --- a/src/test/java/org/apache/commons/csv/CSVBenchmark.java +++ b/src/test/java/org/apache/commons/csv/CSVBenchmark.java @@ -38,7 +38,7 @@ import org.supercsv.io.CsvListReader; import org.supercsv.prefs.CsvPreference; @BenchmarkMode(Mode.AverageTime) -@Fork(value = 1, jvmArgs = "-server") +@Fork(value = 1, jvmArgs = {"-server", "-Xms128M", "-Xmx128M"}) @Threads(1) @Warmup(iterations = 5) @Measurement(iterations = 20)