Wow.... thank you Ezzett, that was really helpful and informative. So the heap is like a bigger contiguous storage space? This is much safer to use, correct?

why Does that int, with sys_malloc require 470 mb? thats huge! When do I use sys_free? Before the game exits?