1

I've recently run across the error message

central_freelist.cc:322 tcmalloc: allocation failed 16384

Looking at the source code, I see that that tcmalloc is reporting "npages".

How should I interpret this number? What information does it provide me to help me debug an application? Is there a way to tell how big a 'page' is, or if npages is an unreasonable value?

Spacemoose
  • 3,856
  • 1
  • 27
  • 48
  • 1
    You've probably corrupted some of the memory manager's internal structures, for example by using dangling pointers. – molbdnilo Nov 11 '15 at 09:58
  • Not what I asked, but I'm grateful for the observation -- You assertion sounds completely reasonable, but would you have a convincing link or technical argument to back the statement? – Spacemoose Nov 11 '15 at 10:02

0 Answers0