method

malloc_allocated_size

v2_6_3 - Show latest stable - Class: GC
malloc_allocated_size()
public

Returns the size of memory allocated by malloc().

Only available if ruby was built with CALC_EXACT_MALLOC_SIZE.