|
From: Philippe W. <phi...@sk...> - 2015-04-10 21:00:01
|
On Fri, 2015-04-10 at 20:48 +0000, Zhu, Yanwen wrote: > From: Maurice van Swaaij [mailto:ma...@bl...] > Sent: Friday, April 10, 2015 4:45 PM > To: Zhu, Yanwen > Cc: val...@li...; 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 |