Allocate the example heap on the stack instead of fixed address.

Thanks, mhonman!