I am getting an error which prevents valgrind from starting. I am running
kernel 2.6.32.22 under Ubuntu 10.04 

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

$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 20
file size               (blocks, -f) unlimited
pending signals                 (-i) 16382
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) unlimited
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to