A get_object_size() Function [Updated]

BLUF You rarely need this. Python handles memory management for you. Except in an edge case where you have a lot of objects to work with. How many is a lot? Enough that your app crashes with MemoryError exception. Or, is consuming so much memory other processes have trouble working …