File: 0014-Reduce-test-memory.patch

package info (click to toggle)
jruby 9.4.8.0%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 89,244 kB
  • sloc: ruby: 548,574; java: 276,189; yacc: 25,873; ansic: 6,178; xml: 6,111; sh: 1,855; sed: 94; makefile: 78; jsp: 48; tcl: 40; exp: 12
file content (27 lines) | stat: -rw-r--r-- 1,085 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: Reduce JVM test memory req to build test on 32-bit arch with less virtual memory
Author: Nilesh Patra <nilesh@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103101
Forwarded: no
Last-Update: 2025-05-20
--- a/core/pom.rb
+++ b/core/pom.rb
@@ -23,7 +23,7 @@
               'anno.sources' => '${project.basedir}/target/generated-sources',
 
               'jruby.basedir' => '${basedir}/..',
-              'jruby.test.memory' => '3G',
+              'jruby.test.memory' => '1024M',
               'jruby.compile.memory' => '2G',
 
               'create.sources.jar' => false )
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -31,7 +31,7 @@
     <jruby.compile.memory>2G</jruby.compile.memory>
     <jruby.gem.home>lib/ruby/gems/shared</jruby.gem.home>
     <jruby.launch.memory>1024M</jruby.launch.memory>
-    <jruby.test.memory>3G</jruby.test.memory>
+    <jruby.test.memory>1024M</jruby.test.memory>
     <jruby.win32ole.gem>jruby-win32ole</jruby.win32ole.gem>
     <lib.dir>lib</lib.dir>
     <main.basedir>${project.parent.basedir}</main.basedir>