Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Redis 2.8.4 creates a 8GB file on startup named "RedisQFork_1628.dat" #83
Redis uses the fork() UNIX system API to create a point-in-time snapshot of the data store for storage to disk. This impacts several features on Redis: AOF/RDB backup, master-slave synchronization, and clustering. Windows does not have a fork-like API available, so we have had to simulate this behavior by placing the Redis heap in a memory mapped file that can be shared with a child(quasi-forked) process. By default we set the size of this file to be equal to the size of physical memory. In order to control the size of this file we have added a maxheap flag. See the Redis.Windows.conf file in msvs\setups\documentation (also included with the NuGet and Chocolatey distributions) for details on the usage of this flag.
Wow. I just discovered this is the reason why my hard drive is always full--6 of these files, taking up almost 40GB, after about 30 minutes of playing around with Redis at a hackathon install fest. I didn't see them in my WinDirStat analyses because I neglected to run as admin. They also remained on my drive after uninstalling Redis. Is there a warning about this somewhere in the install docs? I didn't see one in my quick scan.