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/
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to