Game Memory

Even though you are working in Java, you must pay attention to memory usage in your games. Indeed, as we show in this lecture, memory usage is even more critical when working in Java.

This lecture introduces the difference between inter-frame memory and intra-frame memory, and shows strategies for handling each of the them. In addition, we talk about the challenges of asset loading and management. Fortunately, LibGDX has several tools to simplify this process, and these tools are further augmented by some special GDIAC classes.

To complement this lecture, we recommend the following reading and/or viewing:
March 10, 2023 slides demos