HDD Killer! Windows Redis Mania occupies the C-disk space!

Source: Internet
Author: User

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!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.