On Fri, 2015-04-10 at 20:48 +0000, Zhu, Yanwen wrote:

> From: Maurice van Swaaij [mailto:maur...@blueskystudios.com] 
> Sent: Friday, April 10, 2015 4:45 PM
> To: Zhu, Yanwen
> Cc: valgrind-users@lists.sourceforge.net; Philippe Waroquiers
> Subject: Re: [Valgrind-users] valgrind out of memory error
> 
> 
>  
> 
> I remember having a similar issue where a program was using mmap to
> allocate (to much) memory rather than malloc (or new).
> 
> Valgrind doesn't track the use of mmap, correct me if I'm wrong, so
> might run out of memory while reporting just the usage through malloc.
Valgrind tracks the use of mmap. If it would not do it, nothing
would work.
But for sure, the memory mmap-ed by the client is not counted
in e.g. the memcheck heap reports.

Philippe




------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to