keywords: Redis occupies C-disk, Windows Redis, 64-bit Windows Redis Mania occupies the C-disk space, andRedis creates a Redisqfolk_****.dat file after booting. redis-server.exe redis.windows.conf. Paging file,Appdata\local\redis,heapdir. maxheap, transfer to another disk. The system disk is occupied. There's no room.
Original CSDN blog post. Reprint required declaration. Address:http://blog.csdn.net/qq285744011/article/details/51002409
Windows Redis Mania occupies the C-disk space!
And more and more arrogant: 4g,8g,16g ...
"Solution to the problem"
After Windows Redis starts, it will proactively create a very large file on the C drive itself. C:\Users\{your username}\appdata\local\redis\redisqfolk_****.dat
We can move it to other partitions by defining the path ourselves. and limit its size.
【】"Resolution"
= = = streamlined thinking = =
Change the configuration file redis.windows.conf. Set the folk dedicated buffer file for Redis to a different partition.
Specifies that the Redis-server.exe read this configuration file.
= = = detailed steps = = =
(pictured below)
0. Stop Redis Service
1. Create a directory on the D drive Myredisswap
2. create a shortcut for Redis-server.exe Myredis
3. For the Myredis target attribute, add and specify the read profile redis.windows.conf, preceded by a space
4. Change redis.windows.conf, add two settings to the corresponding location of the file: Maxheap 4294967296 and Heapdir D:\MyRedisSwap\ (see illustration)
5. Start Redis via shortcut Myredis
6. Done.
= = = specific diagram = = =
================== End =====================
HDD Killer! Windows Redis Mania occupies the C-disk space!