This question already has an answer here:
- Valgrind reporting a segment overflow 5 answers
I wonder what this message implies:
==18151== brk segment overflow in thread #1: can't grow to 0x4a26000
Note that the code runs just fine and the output is correct. Should I just ignore this message? And what does it mean?
I think you can ignore it. I got the message in a new allocation in some code that seemed to work perfectly and I also get the message it in the following code:
I also noticed that others experience the same issue:
Valgrind reporting a segment overflow