title: How to get the size of memory pointed by a pointer?
body: <p>I am currently working on a NUMA machine. I am using <code>numa_free</code> to free my allocated memory. However, unlike <code>free</code>, <code>numa_free</code> needs to know how many bytes are to be freed. Is there any way to know that how many bytes are pointed to by a pointer without tracing it out?</p>