summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/java-compression.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/java-compression.scm b/gnu/packages/java-compression.scm
index 654d138c33..5f653bcc94 100644
--- a/gnu/packages/java-compression.scm
+++ b/gnu/packages/java-compression.scm
@@ -99,6 +99,11 @@
              (copy-recursively "src/main/resources/org/xerial/snappy/native"
                                "build/classes/org/xerial/snappy/native")
              #t))
+         (add-before 'build 'set-test-memory-size
+           (lambda _
+             (substitute* "build.xml"
+               (("<junit printsummary=") "<junit maxmemory=\"2G\" printsummary="))
+             #t))
          (add-before 'check 'fix-failing
            (lambda _
              (with-directory-excursion "src/test/java/org/xerial/snappy"