During the last month we saw an increasing use of memory within our PDStorage implementation.
We found this by monitoring the PDStorage.getcurrentByteSize Property
This leak is only in the memory on the machine. The PDs backup written to /opt/mwg/plugin/data/bucketmap/content every 10 minutes does not increase.
If the Memory exceed the defined Max PDStorage size the PDStorage is no longer able to store any values.
After some investigations we found the use of lists seems to be buggy.
If the TTL for a stored list is reached the variable will be deleted (as expected), but the memory will not released.....
This is verified in 188.8.131.52 and 184.108.40.206.
Since we use only "list of strings" we are able to avoid such failure by using the property list.ofString.tostring and store the result as string in PDStorage.
After retrieving the value from PDS we use string.tostringlist for restoring the List of Strings.