During fork () operations, the overall page commit file will be maximized:
(size of physical memory) + (2 * size of maxheap)
For example, on a machine with 8 GB of physical RAM, the maximum file with the maximum size by default would be (8) + (2 * 8) GB or 24 GB.
If you did not specify Redis, you will receive an error similar to the following:
The Windows version of Redis allocates a large memory mapped file for sharing
the heap with the forked process used in persistence operations. This file
will be created in the current working directory or the directory specified by
the ‘heapdir’ directive in the .conf file. Windows is reporting that there is
insufficient disk space available for this file (Windows error 0x70).
You may fix this problem by either reducing the size of the Redis heap with
the –maxheap flag, or by moving the heap file to a local drive with sufficient
space.
Please see the documentation included with the binary distributions for more
details on the –maxheap and –heapdir flags.
Redis can not continue. Exiting.
, -maxheap Redis, , :
redis-server –-maxheap 1gb
: Redis Cache