test with mmap instead of malloc