Python 3.6.1
Filename: test_memory_memoization.py

Line #    Mem usage    Increment   Line Contents
================================================
     6     14.6 MiB      0.0 MiB   @profile
     7                             def memoization():
     8     14.8 MiB      0.3 MiB       mm = metamodel_from_file('rhapsody.tx', memoization=True)
     9                             
    10                                 # Small file
    11     14.8 MiB      0.0 MiB       this_folder = dirname(__file__)
    12     14.8 MiB      0.0 MiB       model = mm.model_from_file(join(this_folder,
    13     98.2 MiB     83.4 MiB                                       'test_inputs', 'LightSwitch.rpy'))
    14                             
    15                                 # Large file
    16     98.2 MiB      0.0 MiB       model2 = mm.model_from_file(join(this_folder,
    17    222.5 MiB    124.3 MiB                                        'test_inputs', 'LightSwitchDouble.rpy'))


