|
From: Nicholas N. <n.n...@gm...> - 2009-08-04 01:19:04
|
On Tue, Aug 4, 2009 at 6:50 AM, Ayan Chowdhury<ach...@vm...> wrote: > Hi, > > I was trying to get my application up with valgrind. I was using the > following valgrind options. > > "/root/valgrind341/bin/valgrind --trace-children=yes --track-fds=yes > --log-file=/var/log/vmware/aam/valgrind.out.%p --leak-check=yes > --show-reachable=yes --leak-resolution=high --num-callers=40 > > But getting the following error when getting the program running. > > > valgrind: mmap(0x38000000, 1503232) failed in UME with error 22 (Invalid > argument). > valgrind: this can be caused by executables with very large text, data or > bss segments. Does your program have a very large text, data or bss segment? Eg. does it contain any very large static arrays? If you give the output of "valgrind -d -v" that would be helpful. Nick |