increase ps function
use heap2 instead of heap1
creat a simple memory test