[memory] properly recognize if the initial heap has been exhausted (relevant to #4)
[memory] properly recognize if the initial heap has been exhausted (relevant to #4)

devyn/kit,devyn/kit,devyn/kit,devyn/kit