add memory test

add memory test to omm generate dump