Initial commit
Adding tests for max [cm]alloc'able space.

This doubles the memory allocated until it fails, and then binary
searches the point where a failure occurs.