Dear All,

many years ago, I've been using valgrind frequently and successfully,
admittedly without ever giving it much thought! Thanks for the awesome
tool.

Now I'm setting up a larger CI system and want automatic memcheck for
our tests. However, in the whole past year, I could not get a single
successful run. So I must be doing something very wrong. Help would be
greatly appreciated :-(


The error I get most frequently is (full output attached in log.txt)
==32==     Valgrind's memory management: out of memory:
==32==        newSuperblock's request for 6864695621860790272 bytes failed.
==32==          114,106,368 bytes have already been mmap-ed ANONYMOUS.


Here is what I tried so far:
 - Versions valgrind-3.13.0 from Ubuntu 18.04 and valgrind-3.16.1
   compiled from source
 - Executed valgrind in a docker container running Ubuntu 18.04 x86_64
   and Ubuntu 20.04 x86_64
 - Checked `ulimit -a` in Docker, there are no tight limits
 - Tried valgrind with some 50++ different executables, all lead to
   the same error message
 - Tried valgrind outside Docker, leads to the same error message
 - Checked `ulimit -a` outside Docker, there are no tight limits
 - Tried the tests work successfully when _not_ using valgrind


I have also tried valgrind on other executables than our debug builds,
and it seems to work there without problems. So maybe the errors are
related to how we create debug builds?

We make pretty standard debug builds (I assume), with flags
-ggdb3 -fno-omit-frame-pointer -O1 -m64 -march=nehalem -mtune=haswell.
Are some of these suspicious?

The host machines I have tried are relatively modern desktop computers
with 64GB of RAM, and modern Skylake or Ryzen processors. The OS is
typically Ubuntu 18.04 or 20.04. I have not set up any tight permission
restrictions like selinux (unless it would be the default for Ubuntu).

And ideas for what I can try are more than appreciated!

All the best,

    Mario Emmenlauer
==33== Memcheck, a memory error detector
==33== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==33== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info
==33== Command: 
/data/bdaci01/BioDataAnalysis/stable-tmp-Ubuntu-Skylake-20.04-x86_64-gcc9/Debug/BDAImageAnalysis/VigraWrapperTest
==33== 
--33:0: aspacem <<< SHOW_SEGMENTS: out_of_memory (105 segments)
--33:0: aspacem 15 segment names in 15 slots
--33:0: aspacem freelist is empty
--33:0: aspacem (0,4,9) 
/data/bdaci01/BioDataAnalysis/stable-artifacts-Ubuntu-Skylake-20.04-x86_64-gcc9/Tools/lib/valgrind/memcheck-amd64-linux
--33:0: aspacem (1,128,7) 
/data/bdaci01/BioDataAnalysis/stable-tmp-Ubuntu-Skylake-20.04-x86_64-gcc9/Debug/BDAImageAnalysis/VigraWrapperTest
--33:0: aspacem (2,246,7) /usr/lib/x86_64-linux-gnu/ld-2.31.so
--33:0: aspacem (3,287,1) 
/tmp/vgdb-pipe-shared-mem-vgdb-33-by-???-on-172436f18aee
--33:0: aspacem (4,348,7) 
/data/bdaci01/BioDataAnalysis/stable-artifacts-Ubuntu-Skylake-20.04-x86_64-gcc9/Tools/lib/valgrind/vgpreload_core-amd64-linux.so
--33:0: aspacem (5,481,7) 
/data/bdaci01/BioDataAnalysis/stable-artifacts-Ubuntu-Skylake-20.04-x86_64-gcc9/Tools/lib/valgrind/vgpreload_memcheck-amd64-linux.so
--33:0: aspacem (6,618,1) /etc/ld.so.cache
--33:0: aspacem (7,639,7) /usr/lib/x86_64-linux-gnu/libm-2.31.so
--33:0: aspacem (8,682,7) 
/data/bdaci01/BioDataAnalysis/stable-artifacts-Ubuntu-Skylake-20.04-x86_64-gcc9/Debug/lib/libQt5Core.so.5.15.0
--33:0: aspacem (9,797,7) /usr/lib/x86_64-linux-gnu/libdl-2.31.so
--33:0: aspacem (10,841,8) /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28
--33:0: aspacem (11,891,7) /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
--33:0: aspacem (12,935,7) /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
--33:0: aspacem (13,984,8) /usr/lib/x86_64-linux-gnu/libc-2.31.so
--33:0: aspacem (14,1027,7) 
/data/bdaci01/BioDataAnalysis/stable-artifacts-Ubuntu-Skylake-20.04-x86_64-gcc9/Debug/lib/libz.so.1.2.11
--33:0: aspacem   0: RSVN 0000000000-0000107fff 1081344 ----- SmFixed
--33:0: aspacem   1: file 0000108000-0000116fff   61440 r---- d=0x811 
i=143002127 o=0       (1,128)
--33:0: aspacem   2: file 0000117000-00001d0fff  761856 r-x-- d=0x811 
i=143002127 o=61440   (1,128)
--33:0: aspacem   3: file 00001d1000-00001fbfff  176128 r---- d=0x811 
i=143002127 o=823296  (1,128)
--33:0: aspacem   4: file 00001fc000-0000200fff   20480 rw--- d=0x811 
i=143002127 o=995328  (1,128)
--33:0: aspacem   5: anon 0000201000-0000201fff    4096 rw---
--33:0: aspacem   6: RSVN 0000202000-0003ffffff     61m ----- SmFixed
--33:0: aspacem   7: file 0004000000-0004000fff    4096 r---- d=0x05e 
i=95955233 o=0       (2,246)
--33:0: aspacem   8: file 0004001000-0004023fff  143360 r-xT- d=0x05e 
i=95955233 o=4096    (2,246)
--33:0: aspacem   9: file 0004024000-000402bfff   32768 r---- d=0x05e 
i=95955233 o=147456  (2,246)
--33:0: aspacem  10:      000402c000-000402cfff    4096
--33:0: aspacem  11: file 000402d000-000402efff    8192 rw--- d=0x05e 
i=95955233 o=180224  (2,246)
--33:0: aspacem  12: anon 000402f000-000402ffff    4096 rw---
--33:0: aspacem  13: anon 0004030000-0004030fff    4096 rwx--
--33:0: aspacem  14: RSVN 0004031000-000482ffff 8384512 ----- SmLower
--33:0: aspacem  15: anon 0004830000-0004831fff    8192 rw---
--33:0: aspacem  16: file 0004832000-0004832fff    4096 r---- d=0x811 
i=128723127 o=0       (4,348)
--33:0: aspacem  17: file 0004833000-0004833fff    4096 r-x-- d=0x811 
i=128723127 o=4096    (4,348)
--33:0: aspacem  18: file 0004834000-0004834fff    4096 r---- d=0x811 
i=128723127 o=8192    (4,348)
--33:0: aspacem  19: file 0004835000-0004836fff    8192 rw--- d=0x811 
i=128723127 o=8192    (4,348)
--33:0: aspacem  20: file 0004837000-000484dfff   94208 r---- d=0x811 
i=128723365 o=0       (5,481)
--33:0: aspacem  21: file 000484e000-000486ffff  139264 r-xT- d=0x811 
i=128723365 o=94208   (5,481)
--33:0: aspacem  22: file 0004870000-0004873fff   16384 r---- d=0x811 
i=128723365 o=233472  (5,481)
--33:0: aspacem  23: file 0004874000-0004881fff   57344 rw--- d=0x811 
i=128723365 o=245760  (5,481)
--33:0: aspacem  24: file 0004882000-000488bfff   40960 r---- d=0x05e 
i=111152719 o=0       (6,618)
--33:0: aspacem  25: file 000488c000-000489afff   61440 r---- d=0x05e 
i=95955297 o=0       (7,639)
--33:0: aspacem  26: file 000489b000-0004941fff  684032 r-x-- d=0x05e 
i=95955297 o=61440   (7,639)
--33:0: aspacem  27: file 0004942000-00049d8fff  618496 r---- d=0x05e 
i=95955297 o=745472  (7,639)
--33:0: aspacem  28: file 00049d9000-00049dafff    8192 rw--- d=0x05e 
i=95955297 o=1359872 (7,639)
--33:0: aspacem  29: file 00049db000-0004a6dfff  602112 r---- d=0x811 
i=128719218 o=0       (8,682)
--33:0: aspacem  30: file 0004a6e000-0004db2fff 3428352 r-x-- d=0x811 
i=128719218 o=602112  (8,682)
--33:0: aspacem  31: file 0004db3000-0004faafff 2064384 r---- d=0x811 
i=128719218 o=4030464 (8,682)
--33:0: aspacem  32: file 0004fab000-0004fb9fff   61440 rw--- d=0x811 
i=128719218 o=6090752 (8,682)
--33:0: aspacem  33: anon 0004fba000-0004fbcfff   12288 rw---
--33:0: aspacem  34: file 0004fbd000-0004fbdfff    4096 r---- d=0x05e 
i=95955266 o=0       (9,797)
--33:0: aspacem  35: file 0004fbe000-0004fbffff    8192 r-x-- d=0x05e 
i=95955266 o=4096    (9,797)
--33:0: aspacem  36: file 0004fc0000-0004fc0fff    4096 r---- d=0x05e 
i=95955266 o=12288   (9,797)
--33:0: aspacem  37: file 0004fc1000-0004fc2fff    8192 rw--- d=0x05e 
i=95955266 o=12288   (9,797)
--33:0: aspacem  38: anon 0004fc3000-0004fc4fff    8192 rw---
--33:0: aspacem  39: file 0004fc5000-000505afff  614400 r---- d=0x05e 
i=95955365 o=0       (10,841)
--33:0: aspacem  40: file 000505b000-000514afff  983040 r-x-- d=0x05e 
i=95955365 o=614400  (10,841)
--33:0: aspacem  41: file 000514b000-0005193fff  299008 r---- d=0x05e 
i=95955365 o=1597440 (10,841)
--33:0: aspacem  42: file 0005194000-0005194fff    4096 ----- d=0x05e 
i=95955365 o=1896448 (10,841)
--33:0: aspacem  43: file 0005195000-00051a2fff   57344 rw--- d=0x05e 
i=95955365 o=1896448 (10,841)
--33:0: aspacem  44: anon 00051a3000-00051a5fff   12288 rw---
--33:0: aspacem  45: file 00051a6000-00051a8fff   12288 r---- d=0x05e 
i=95955280 o=0       (11,891)
--33:0: aspacem  46: file 00051a9000-00051bafff   73728 r-x-- d=0x05e 
i=95955280 o=12288   (11,891)
--33:0: aspacem  47: file 00051bb000-00051befff   16384 r---- d=0x05e 
i=95955280 o=86016   (11,891)
--33:0: aspacem  48: file 00051bf000-00051c0fff    8192 rw--- d=0x05e 
i=95955280 o=98304   (11,891)
--33:0: aspacem  49: file 00051c1000-00051c7fff   28672 r---- d=0x05e 
i=95955349 o=0       (12,935)
--33:0: aspacem  50: file 00051c8000-00051d8fff   69632 r-x-- d=0x05e 
i=95955349 o=28672   (12,935)
--33:0: aspacem  51: file 00051d9000-00051ddfff   20480 r---- d=0x05e 
i=95955349 o=98304   (12,935)
--33:0: aspacem  52: file 00051de000-00051dffff    8192 rw--- d=0x05e 
i=95955349 o=114688  (12,935)
--33:0: aspacem  53: anon 00051e0000-00051e3fff   16384 rw---
--33:0: aspacem  54: file 00051e4000-0005208fff  151552 r---- d=0x05e 
i=95955255 o=0       (13,984)
--33:0: aspacem  55: file 0005209000-0005380fff 1540096 r-x-- d=0x05e 
i=95955255 o=151552  (13,984)
--33:0: aspacem  56: file 0005381000-00053cafff  303104 r---- d=0x05e 
i=95955255 o=1691648 (13,984)
--33:0: aspacem  57: file 00053cb000-00053cbfff    4096 ----- d=0x05e 
i=95955255 o=1994752 (13,984)
--33:0: aspacem  58: file 00053cc000-00053d1fff   24576 rw--- d=0x05e 
i=95955255 o=1994752 (13,984)
--33:0: aspacem  59: anon 00053d2000-00053d5fff   16384 rw---
--33:0: aspacem  60: file 00053d6000-00053d8fff   12288 r---- d=0x811 
i=128713067 o=0       (14,1027)
--33:0: aspacem  61: file 00053d9000-00053e6fff   57344 r-x-- d=0x811 
i=128713067 o=12288   (14,1027)
--33:0: aspacem  62: file 00053e7000-00053ecfff   24576 r---- d=0x811 
i=128713067 o=69632   (14,1027)
--33:0: aspacem  63: file 00053ed000-00053eefff    8192 rw--- d=0x811 
i=128713067 o=90112   (14,1027)
--33:0: aspacem  64:      00053ef000-0057ffffff   1324m
--33:0: aspacem  65: FILE 0058000000-0058000fff    4096 r---- d=0x811 
i=128723364 o=0       (0,4)
--33:0: aspacem  66: FILE 0058001000-00581edfff 2019328 r-x-- d=0x811 
i=128723364 o=4096    (0,4)
--33:0: aspacem  67: file 00581ee000-00581eefff    4096 r-xT- d=0x811 
i=128723364 o=2023424 (0,4)
--33:0: aspacem  68: FILE 00581ef000-00584b3fff 2904064 r-x-- d=0x811 
i=128723364 o=2027520 (0,4)
--33:0: aspacem  69: FILE 00584b4000-0058560fff  708608 r---- d=0x811 
i=128723364 o=4931584 (0,4)
--33:0: aspacem  70:      0058561000-0058561fff    4096
--33:0: aspacem  71: FILE 0058562000-005870cfff 1748992 rw--- d=0x811 
i=128723364 o=5640192 (0,4)
--33:0: aspacem  72: ANON 005870d000-005a10ffff     26m rw---
--33:0: aspacem  73:      005a110000-1001ffffff  64126m
--33:0: aspacem  74: RSVN 1002000000-1002000fff    4096 ----- SmFixed
--33:0: aspacem  75: ANON 1002001000-10029b7fff      9m rwx--
--33:0: aspacem  76: FILE 10029b8000-10029b8fff    4096 rw--- d=0x05e 
i=55574814 o=0       (3,287)
--33:0: aspacem  77: ANON 10029b9000-1002a10fff  360448 rwx--
--33:0: aspacem  78:      1002a11000-1002a7bfff  438272
--33:0: aspacem  79: ANON 1002a7c000-1002e61fff 4087808 rwx--
--33:0: aspacem  80: ANON 1002e62000-1002e63fff    8192 -----
--33:0: aspacem  81: ANON 1002e64000-1002f63fff 1048576 rwx--
--33:0: aspacem  82: ANON 1002f64000-1002f65fff    8192 -----
--33:0: aspacem  83: ANON 1002f66000-10031b2fff 2412544 rwx--
--33:0: aspacem  84:      10031b3000-1003270fff  778240
--33:0: aspacem  85: ANON 1003271000-1003670fff 4194304 rwx--
--33:0: aspacem  86:      1003671000-1003765fff 1003520
--33:0: aspacem  87: ANON 1003766000-1003ee6fff 7868416 rwx--
--33:0: aspacem  88:      1003ee7000-10041a1fff 2863104
--33:0: aspacem  89: ANON 10041a2000-10067b1fff     38m rwx--
--33:0: aspacem  90:      10067b2000-100698ffff 1957888
--33:0: aspacem  91: ANON 1006990000-1006ed2fff 5517312 rwx--
--33:0: aspacem  92:      1006ed3000-1007260fff 3727360
--33:0: aspacem  93: ANON 1007261000-1007cd8fff     10m rwx--
--33:0: aspacem  94:      1007cd9000-1ffe800fff  65387m
--33:0: aspacem  95: RSVN 1ffe801000-1ffeffdfff 8376320 ----- SmUpper
--33:0: aspacem  96: anon 1ffeffe000-1fff000fff   12288 rw---
--33:0: aspacem  97:      1fff001000-1fffffffff     15m
--33:0: aspacem  98: RSVN 2000000000-7ffea2e11fff 130938g ----- SmFixed
--33:0: aspacem  99: ANON 7ffea2e12000-7ffea2e32fff  135168 rw---
--33:0: aspacem 100: RSVN 7ffea2e33000-7ffea2f5afff 1212416 ----- SmFixed
--33:0: aspacem 101: ANON 7ffea2f5b000-7ffea2f5dfff   12288 r----
--33:0: aspacem 102: RSVN 7ffea2f5e000-ffffffffff5fffff  16383e ----- SmFixed
--33:0: aspacem 103: ANON ffffffffff600000-ffffffffff600fff    4096 r-x--
--33:0: aspacem 104: RSVN ffffffffff601000-ffffffffffffffff      9m ----- 
SmFixed
--33:0: aspacem >>>
--33-- core    :     8,388,608/    8,388,608 max/curr mmap'd, 0/0 unsplit/split 
sb unmmap'd,      4,060,432/    3,777,728 max/curr,       13381/  28203472 
totalloc-blocks/bytes,       13685 searches 8 rzB
--33-- dinfo   :    48,173,056/   42,283,008 max/curr mmap'd, 11/19 
unsplit/split sb unmmap'd,     46,785,008/   33,422,880 max/curr,     1466936/ 
246998352 totalloc-blocks/bytes,     1487226 searches 8 rzB
--33-- client  :             0/            0 max/curr mmap'd, 0/0 unsplit/split 
sb unmmap'd,              0/            0 max/curr,           0/         0 
totalloc-blocks/bytes,           0 searches 24 rzB
--33-- demangle:        65,536/       65,536 max/curr mmap'd, 0/0 unsplit/split 
sb unmmap'd,          1,184/          800 max/curr,          18/      3504 
totalloc-blocks/bytes,          17 searches 8 rzB
--33-- ttaux   :        65,536/       65,536 max/curr mmap'd, 0/0 unsplit/split 
sb unmmap'd,         48,928/       32,096 max/curr,         161/     87136 
totalloc-blocks/bytes,         163 searches 8 rzB
--33-- translate: 6,370 guest insns, 1,097 traces, 209 uncond chased, 20 cond 
chased
--33-- translate:            fast new/die SP updates identified: 381 
(52.6%)/267 (36.9%)
--33-- translate:   generic_known new/die SP updates identified: 36 (5.0%)/19 
(2.6%)
--33-- translate: generic_unknown SP updates identified: 21 (2.9%)
--33-- translate: PX: SPonly 0,  UnwRegs 1,097,  AllRegs 0,  AllRegsAllInsns 0
--33--     tt/tc: 2,506 tt lookups requiring 2,521 probes
--33--     tt/tc: 1,362 fast-cache updates, 4 flushes
--33--  transtab: new        1,097 (25,949 -> 429,762; ratio 16.6) [0 scs] avg 
tce size 391
--33--  transtab: dumped     0 (0 -> ??) (sectors recycled 0)
--33--  transtab: discarded  10 (372 -> ??)
--33-- scheduler: 10,207 event checks.
--33-- scheduler: 1,296 indir transfers, 216 misses (1 in 6) ..
--33-- scheduler: .. of which: 1,079 hit0, 1 hit1, 0 hit2, 0 hit3, 216 missed
--33-- scheduler: 0/1,505 major/minor sched events.
--33--    sanity: 0 cheap, 0 expensive checks.
--33--    exectx: 769 lists, 1 contexts (avg 0.00 per list) (avg 1.00 IP per 
context)
--33--    exectx: 2 searches, 1 full compares (500 per 1000)
--33--    exectx: 0 cmp2, 0 cmp4, 0 cmpAll
--33--  errormgr: 0 supplist searches, 0 comparisons during search
--33--  errormgr: 0 errlist searches, 0 comparisons during search
--33--  memcheck: freelist: vol 0 length 0
--33--  memcheck: sanity checks: 0 cheap, 1 expensive
--33--  memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--33--  memcheck: auxmaps_L1: 0 searches, 0 cmps, ratio 0:10
--33--  memcheck: auxmaps_L2: 0 searches, 0 nodes
--33--  memcheck: SMs: n_issued      = 21 (336k, 0M)
--33--  memcheck: SMs: n_deissued    = 0 (0k, 0M)
--33--  memcheck: SMs: max_noaccess  = 2097151 (33554416k, 32767M)
--33--  memcheck: SMs: max_undefined = 0 (0k, 0M)
--33--  memcheck: SMs: max_defined   = 191 (3056k, 2M)
--33--  memcheck: SMs: max_non_DSM   = 21 (336k, 0M)
--33--  memcheck: max sec V bit nodes:    0 (0k, 0M)
--33--  memcheck: set_sec_vbits8 calls: 0 (new: 0, updates: 0)
--33--  memcheck: max shadow mem size:   16768k, 16M

host stacktrace:
==33==    at 0x580AF47A: show_sched_status_wrk (m_libcassert.c:406)
==33==    by 0x580C6DB9: vgPlain_out_of_memory_NORETURN (m_mallocfree.c:795)
==33==    by 0x580C755F: newSuperblock (m_mallocfree.c:868)
==33==    by 0x580C755F: newSuperblock (m_mallocfree.c:829)
==33==    by 0x580C8A8F: vgPlain_arena_malloc (m_mallocfree.c:1806)
==33==    by 0x581EF183: vgModuleLocal_dinfo_zalloc (misc.c:46)
==33==    by 0x581FBE69: alloc_CEnt (image.c:504)
==33==    by 0x58207119: get_slowcase (image.c:722)
==33==    by 0x5820A7CF: get (image.c:814)
==33==    by 0x5820A7CF: vgModuleLocal_img_strlen (image.c:1119)
==33==    by 0x5820A7CF: vgModuleLocal_img_strdup (image.c:1126)
==33==    by 0x5817A272: vgModuleLocal_cur_read_strdup (priv_image.h:260)
==33==    by 0x5817A272: vgModuleLocal_addStrFromCursor (storage.c:349)
==33==    by 0x5821196E: read_dwarf2_lineblock (readdwarf.c:381)
==33==    by 0x5821196E: vgModuleLocal_read_debuginfo_dwarf3 (readdwarf.c:1107)
==33==    by 0x5816C114: vgModuleLocal_read_elf_debug_info (readelf.c:3228)
==33==    by 0x58152FD1: di_notify_ACHIEVE_ACCEPT_STATE (debuginfo.c:969)
==33==    by 0x58152FD1: vgPlain_di_notify_mmap (debuginfo.c:1319)
==33==    by 0x581BAC4A: vgModuleLocal_generic_PRE_sys_mmap 
(syswrap-generic.c:2400)
==33==    by 0x581D3F08: vgSysWrap_amd64_linux_sys_mmap_before 
(syswrap-amd64-linux.c:413)
==33==    by 0x581B1DEA: vgPlain_client_syscall (syswrap-main.c:1914)
==33==    by 0x581AA3D4: handle_syscall (scheduler.c:1208)
==33==    by 0x581ACD6B: vgPlain_scheduler (scheduler.c:1526)
==33==    by 0x58260501: thread_wrapper (syswrap-linux.c:101)
==33==    by 0x58260501: run_a_thread_NORETURN (syswrap-linux.c:154)

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable syscall 9 (lwpid 33)
==33==    at 0x401F0E6: __mmap64 (mmap64.c:59)
==33==    by 0x401F0E6: mmap (mmap64.c:47)
==33==    by 0x4007491: _dl_map_segments (dl-map-segments.h:94)
==33==    by 0x4007491: _dl_map_object_from_fd (dl-load.c:1186)
==33==    by 0x400A61A: _dl_map_object (dl-load.c:2236)
==33==    by 0x400F504: openaux (dl-deps.c:64)
==33==    by 0x401DC19: _dl_catch_exception (dl-error-skeleton.c:208)
==33==    by 0x400F952: _dl_map_object_deps (dl-deps.c:248)
==33==    by 0x4004063: dl_main (rtld.c:1805)
==33==    by 0x401CBAA: _dl_sysdep_start (dl-sysdep.c:252)
==33==    by 0x400204B: _dl_start_final (rtld.c:449)
==33==    by 0x400204B: _dl_start (rtld.c:539)
==33==    by 0x4001107: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
client stack range: [0x1FFEFFE000 0x1FFF000FFF] client SP: 0x1FFEFFF278
valgrind stack range: [0x1002E64000 0x1002F63FFF] top usage: 13440 of 1048576

==33== 
==33==     Valgrind's memory management: out of memory:
==33==        newSuperblock's request for 6864695621860790272 bytes failed.
==33==          114,106,368 bytes have already been mmap-ed ANONYMOUS.
==33==     Valgrind cannot continue.  Sorry.
==33== 
==33==     There are several possible reasons for this.
==33==     - You have some kind of memory limit in place.  Look at the
==33==       output of 'ulimit -a'.  Is there a limit on the size of
==33==       virtual memory or address space?
==33==     - You have run out of swap space.
==33==     - Valgrind has a bug.  If you think this is the case or you are
==33==     not sure, please let us know and we'll try to fix it.
==33==     Please note that programs can take substantially more memory than
==33==     normal when running under Valgrind tools, eg. up to twice or
==33==     more, depending on the tool.  On a 64-bit machine, Valgrind
==33==     should be able to make use of up 32GB memory.  On a 32-bit
==33==     machine, Valgrind should be able to use all the memory available
==33==     to a single process, up to 4GB if that's how you have your
==33==     kernel configured.  Most 32-bit Linux setups allow a maximum of
==33==     3GB per process.
==33== 
==33==     Whatever the reason, Valgrind cannot continue.  Sorry.
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to