Yes, There is a limit. A key value map has a 15 MB limit. Writing to the map may fail close to or beyond this limit. If the amount of data might grow beyond 15 MB, be sure to use the ExpiryTimeInSecs element to expire entries before exceeding the limit. Please check documentation here. It’s recently updated.
It’s not advised to store large amount of Data in KVM due to latency & other performance related issues. If not used correctly, say if it is used to store tremendously large data, then it could have an implication on the runtime traffic.
The ExpiryTimeInSecs determines how often Edge refreshes the value from the underlying store. The value is not deleted unless “Remove” operation is made through policy or management API.