Possible DataStore cache memory leak


#1

The memory consumed by the DataStore cache seems to increase over time, eventually crashing the server.

This consistently happens in my game Welcome to Bloxburg. Don’t know why or when it started happening.

On a 1 hour old server, the cache takes up around 270 MB. However, on a 2 hour old server the memory usage increases to 700 MB. On a 6 hour old server, the cache takes up 1.7 GB of memory (see attached console screenshots).

Screenshots

1 hour old server, datastore/cache takes up 274 MB:

2 hour old server, datastore/cache takes up 705 MB:

6 hour old server, datastore/cache takes up 1694 MB:


#2

Did you recently change anything with your DataStore code?


#3

Don’t think so. Been using the same system for quite a while.


#4

Hi Coeptus,

Thanks for reporting it!

We have filed this report internally and have our engineering team looking into it. We’ll follow up once we have more information about this issue.


#5

Just wanted let you know that we will have a fix for this pushed out during next week’s update! :]


#6

Is it fixed yet?