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 C-space,Redis starts creating redisqfolk_****.dat files,Redis-server.exe Redis.windows.conf , paging file,Appdata\local\redis,heapdir,maxheap, Transfer to other disk, system disk is occupied, no space


Original CSDN blog post, reprint need to declare! Address:http://blog.csdn.net/qq285744011/article/details/51002409

Windows Redis Mania occupies the C-disk space! But also more and more arrogant: 4g,8g,16g ...
"The cause of the problem"

After Windows Redis starts, a large file is automatically created in the C drive, C:\Users\{your user name}\appdata\local\redis\redisqfolk_****.dat

By customizing the path, we can move it to another partition and limit its size.


【】"Resolution"

= = = streamlined thinking = =

Modify the configuration file redis.windows.confto set the folk dedicated buffer file for Redis to a different partition.

Specifies that the Redis-server.exe read this configuration file.


= = = specific steps = = =

(pictured below)

0. Stop Redis Service

1. Create a folder on the D drive Myredisswap

2. create a shortcut for Redis-server.exe Myredis
3. For the Myredis target property, add and specify the read configuration file redis.windows.conf, preceded by a space

4. Modify the redis.windows.conf to add two settings to the file location: Maxheap 4294967296 and Heapdir D:\MyRedisSwap\ (see illustration)

5. Start Redis via shortcut Myredis

6. Get it done!



= = = detailed 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.