use pympler.asizeof.asizeof instead of mx.Tools.sizeof to get more accurate memory usage.