|
From: Johnny <joh...@ra...> - 2005-10-02 21:11:04
|
Hello, I'm trying to use the memcheck tool with Valgrind-3.0.1 to profile my programs memory usage. Anyway, every time I try to start my program with Valgrind I get the following error and my program exits: --2105-- Reading syms from /usr/local/rainingdata/tigerlogic/xdms/programs/libtlxs.so.0.0.0 (0x194B0000) VG_(get_memory_from_mmap): newSuperblock's request for 2932736 bytes failed. VG_(get_memory_from_mmap): 503744376 bytes already allocated. Sorry. You could try using a tool that uses less memory; eg. addrcheck instead of memcheck. ---- Debugging information follows -------- Valgrind's range is: 0xA0000000 .. 0xBFFFFFFF <<< SHOW_SEGMENTS: VG_(get_memory_from_mmap) failure (49 segments, 12 segnames) ( 0) /usr/local/lib/valgrind/stage2 ( 1) /lib/ld-2.3.2.so ( 2) /lib/libdl-2.3.2.so I tried that trick involving changing KICKSTART_BASE to "0xA0000000" in my configure script, doing "make distclean; make; makeinstall" and I'm still running out of memory. Does anyone have any suggestions or ideas on how to get passed this? I'd appreciate any help! Thanks, Johnny |