I think you can use `enforceEx!OutOfMemoryError(malloc(Impl.sizeof));` here.