Nomem handler was not setting data

There should probably be a test for the nomem handling, but it's really hard to do especially with overcommit. For now just fixing the obvious bug.