Right, the only safe way now to work with linear memory is within the withScopedMemoryAllocator block.
withScopedMemoryAllocator