|
From: tarun k. <tar...@ya...> - 2004-08-13 15:25:03
|
Hi, I got the following error when i ran valgrind. The system that i am using has enough memory and has ran heavier jobs under valgrind before and never gave anything like that.. Is there a possibility that this is a bug in valgrind??. I am using 2.0.0. VG_(get_memory_from_mmap): request for 13385728 bytes failed. VG_(get_memory_from_mmap): 2063348136 bytes already allocated. This may mean that you have run out of swap space, since running programs on valgrind increases their memory usage at least 3 times. You might want to use 'top' to determine whether you really have run out of swap. If so, you may be able to work around it by adding a temporary swap file -- this is easier than finding a new swap partition. Go ask your sysadmin(s) [politely!] VG_(get_memory_from_mmap): out of memory! Fatal! Bye! Thanks !! Tarun __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail |
|
From: Nicholas N. <nj...@ca...> - 2004-08-13 15:57:24
|
On Fri, 13 Aug 2004, tarun kapoor wrote: > I got the following error when i ran valgrind. The > system that i am using has enough memory and has ran > heavier jobs under valgrind before and never gave > anything like that.. Is there a possibility that this > is a bug in valgrind??. It's possible, but... > I am using 2.0.0. > > > VG_(get_memory_from_mmap): request for 13385728 bytes > failed. > VG_(get_memory_from_mmap): 2063348136 bytes already > allocated. ...if it's already allocated 2GB, that's a lot of memory, so it doesn't seem unreasonable that it can't find any more. Are you really sure you've run programs that use more memory before, under Valgrind? You could try 2.1.2, which does memory allocations in a different way, but I'm not confident it will help. And without more details, I can't help any further. N |