|
From: Chaman S. V. <cs...@mc...> - 2005-10-22 19:21:50
|
Hello, I am using Valgrind to find memory leaks in a program which uses large memory. With Valgrind I get the message. VG_(get_memory_from_mmap): newSuperblock's request for 1048576 bytes failed. VG_(get_memory_from_mmap): 260723845 bytes already allocated. Sorry. You could try using a tool that uses less memory; eg. addrcheck instead of memcheck. I used then valgrind --tool=addrcheck, still I get the same message. Any help ? csv |
|
From: Nicholas N. <nj...@cs...> - 2005-10-22 21:07:59
|
On Sat, 22 Oct 2005, Chaman Singh Verma wrote: > I am using Valgrind to find memory leaks in a program which uses large > memory. With Valgrind > I get the message. > > VG_(get_memory_from_mmap): newSuperblock's request for 1048576 bytes failed. > VG_(get_memory_from_mmap): 260723845 bytes already allocated. > > Sorry. You could try using a tool that uses less memory; > eg. addrcheck instead of memcheck. > > I used then valgrind --tool=addrcheck, still I get the same message. Any help > ? Try using the latest code from the repository (see http://www.valgrind.org/downloads/repository.html). The problem should be fixed there. Nick |