Add hard fail when memory allocation fails, so culprit is found directly. Crank up heap size to 2kB