tom fogal wrote:
> [email protected] writes:
>   
>>   I am using valgrind 3.4.1 to try to find a memory leak. My
>> program has an initial routine which allocates a lot of memory -
>> around 1 GB. When I run the program by itself it runs fine, however
>> when I run it under valgrind, one of the many malloc calls in
>> the initial routine fails.
>>
>> Does anyone know why this would happen? There is plenty of memory
>> on the machine (64 GB).
>>     
>
>   
How much is valgrind's over heads?
IIRC, it's a little over 1.125 bytes per byte allocated by the program.

Could it be they exceed the system's free memory?
Is there anything logged to syslog about this.

Col.


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to