ApsaraDB for Memcache supports six data eviction policies. You can set your expected eviction policy based on your business requirements by modifying the maxmemory-policy parameter in the console.
Procedure
Log on to the ApsaraDB for Memcache console and find the desired ApsaraDB for Memcache instance.
Click the ID of the desired instance.
In the left-side navigation pane, click Parameter Settings.
Click Modify in the Actions column on the right side of the maxmemory-policy parameter.
Select a data eviction policy and click OK.