Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2219

Redis WARNING Memory overcommit must be enabled

$
0
0

I'm running my redis server on a docker container hosted on my local windows machine, but i am unable to store data because of this warning

WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.

is there a way i can enable this?

version: '3'services:  redis:    image: "redis"    ports:      - "6379:6379"    networks:      - my-servicenetworks:  my-service:    external: true

Viewing all articles
Browse latest Browse all 2219

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>