How much data can I store in a table?

Hello, I currently have a gokart game and I currently have a ghost mode which stores positional and rotational data into a table every 5 frames which then stores into a data store and I am very aware of the 4MB limit and steer clear of that. But I am planning to build off of ghost mode for a replay mode.

This will take a lot more data than ghost mode because I’ll have to record multiple gokarts, with even more parts that’ll break off when they crash. I feel like I’m being as efficient as I can by not recording any unnecessary parts, and not recording pieces that aren’t moving.

I’m not planning to save any of this to data stores, but I will store all the data in a regular table. I heard the limit is the ram of the device, but a device with 8 gigs of ram I assume I can’t use all 8 gigs. What would be a good guideline to stand by?

You should probably limit your table size at 1 or 2 gigs of data because chances are someone will have a low end device and it will be very hard for them to play your game with “ok” performance.

You could also just encode data by compressing it, similar to something like a ZIP file. If your game gets too big you can also resort to outside programs like web servers and other things similar to that. The biggest thing is just to make sure your game will run on most devices.