Try porting malloc tester from http://stackoverflow.com/questions/2798330/maximum-memory-which-malloc-can-allocate
Use the other calloc
MemCrush2