mmap may be the way to go on truncation