Fix sendfile if file is big may cause failed response and add memalloc.h memalloc.c to help memory management, add benchmark to trace performence on version changing