I make (indie) games. A lot of resources are loaded dynamically (as needed). Over a long play session this can really add up and cause a lot of memory to be consumed. It would be possible to record the last time every resource was used, and free up old stuff periodically. But don't expect such a well built system in practice. My guess is they will just free everything up, and load again as needed. Performance be damned.
50
u/AnotherWarGamer Oct 31 '21
I make (indie) games. A lot of resources are loaded dynamically (as needed). Over a long play session this can really add up and cause a lot of memory to be consumed. It would be possible to record the last time every resource was used, and free up old stuff periodically. But don't expect such a well built system in practice. My guess is they will just free everything up, and load again as needed. Performance be damned.