|
From: Susan M. <baj...@ho...> - 2009-10-10 16:41:45
|
Hello, everyone! I am certain that I have a memory leak somewhere in my code, because it eats all of the memory on my machine and then crashes. :) I've compiled my code with the -g option, and when I run valgrind with the following options valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes The following error message appears: ==6049== Warning: set address range perms: large range 112786496 (undefined) I've looked into this error message, and I understand that it is trying to tell me that I have allocated a very large block of memory. But I really would like to know the line number in my code, or even the function, where this is happening. Regretfully, this is all the information that valgrind is giving me. I can trace it by putting print messages in my code, but I'm not even sure if the valgrind message appears sequentially. Does anyone have any suggestions? Thank you as always, Susan _________________________________________________________________ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141665/direct/01/ |