human
compute amount of memory used by object.
assistant
Here is a Python code to compute amount of memory used by objects

import sys

def compute_memory_usage(object):
    """Computes the amount of memory used by an object."""
    return (object.__sizeof__())

# Enter the object
object = [1, 2, 3]

# Calling the function
print((compute_memory_usage(object)))

#Example Output
# 64

#Remember to inspect code for bugs.