1
General (but related to Code::Blocks) / Re: Valgrind and Cachegrind
« Last post by Miguel Gimenez on Today at 11:58:57 am »Quote
==33537== (see section Limitations in user manual)
Quote
On Linux, Valgrind determines at startup the size of the 'brk segment' using the RLIMIT_DATA rlim_cur, with a minimum of 1 MB and a maximum of 8 MB. Valgrind outputs a message each time a program tries to extend the brk segment beyond the size determined at startup. Most programs will work properly with this limit, typically by switching to the use of mmap to get more memory. If your program really needs a big brk segment, you must change the 8 MB hardcoded limit and recompile Valgrind.
The segment is trying to grow to 72 MB, far higher than the 8 MB limit. If you are using malloc() to allocate memory you can ignore this message.
Recent Posts