Hello my people! I’ve been working a large game recently and before I get too far into development I’m trying to make sure the game won’t have horrible performance issues. Everything is under control so far except the memory usage.
I’m hoping some people can give me general tips on how to lower the amount of memory usage. For starters, here is what I think may be causing the problems:
1.) I use datastore2 to prevent all data loss, but this uses an immense amount of storage to do so.
2.) Currently I have 5 bindableEvents and 5 remoteEvents, they could be causing some issues with the scripts by communicating when that script is trying to run other lines of code.
3.) Some scripts have thousands of lines of code.
Thanks!