Debian Codegraph @

debian/patches/autopkgtest-memory.patch

raw symbols SCIP
1 Descriptionscip-debian debian bbmap 39.20+dfsg-3 bbmap/patches/`autopkgtest-memory.patch`#Description.: cap memory usage in autopkgtest context.
2 The default calculation method to reserve memory for the java runtime
3 environment causes excessive memory usage on ci.debian.net machines.
4 Authorscip-debian debian bbmap 39.20+dfsg-3 bbmap/patches/`autopkgtest-memory.patch`#Author.: Étienne Mollier <[email protected]scip-debian . . . identity/`[email protected]`.>
5 Bug-Debianscip-debian debian bbmap 39.20+dfsg-3 bbmap/patches/`autopkgtest-memory.patch`#Bug-Debian.: https://bugs.debian.org/1120170scip-debian-bts debian-bts . . 1120170:
6 Forwardedscip-debian debian bbmap 39.20+dfsg-3 bbmap/patches/`autopkgtest-memory.patch`#Forwarded.: not-needed
7 Last-Updatescip-debian debian bbmap 39.20+dfsg-3 bbmap/patches/`autopkgtest-memory.patch`#Last-Update.: 2025-11-06
8 ---
9 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
10 --- bbmap.orig/calcmem.shscip-debian debian bbmap 39.20+dfsg-3 bbmap/upstream/`bbmap.orig/calcmem.sh`:
11 +++ bbmap/calcmem.shscip-debian debian bbmap 39.20+dfsg-3 bbmap/upstream/`bbmap/calcmem.sh`:
12 @@ -214,6 +214,10 @@
13 && [ "$RAM" -gt "2000" ]
14 then RAM="2000"
15 fi
16 + # cap to 4GiB on shared autopkgtest resources (ci.debian.net).
17 + if [ -n "$AUTOPKGTEST_TMP" ] && [ "$RAM" -gt "4000" ]
18 + then RAM="4000"
19 + fi
20 #echo $RAM
21 fi
22 #local z="-Xmx${RAM}m"