implemented install_mem_handler , Now custom mem_handlers seems to work . Tested it successfully on crush