memory heap exhaustion test case