summaryrefslogtreecommitdiffstats
path: root/test/MemUsage
diff options
context:
space:
mode:
Diffstat (limited to 'test/MemUsage')
-rw-r--r--test/MemUsage/MemUsage.java.orig15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/MemUsage/MemUsage.java.orig b/test/MemUsage/MemUsage.java.orig
new file mode 100644
index 0000000..710031b
--- /dev/null
+++ b/test/MemUsage/MemUsage.java.orig
@@ -0,0 +1,15 @@
+
+public class MemUsage {
+ public static final int ROUNDS = 8;
+ public static final int SIZE = 2000;
+
+ public static void main(String [] args) {
+ String s;
+ for (int j = 0; j < ROUNDS; j++) {
+ s = "";
+ for (int i = 0; i < SIZE; i++) {
+ s += "x";
+ }
+ }
+ }
+}