(NO CODE HELP) I need to reduce RAM usage for my project

Godot Version

Godot 4.5.1

Question

i just need to know why my RAM usage is too high and how can i reduce that? when i animating my character the animation canvas is 512x512

hmm idk you should look up how to limit ram usage on your apps on your pc it would be something like task manager or something like that, then set a limit to godot’s usage of the ram, though that could make it quite lagy :confused:

The window you are looking at is related to video memory, and this is to be expected, because most images will be in there raw uncompressed format for the GPU to sample them quickly. Unless you turn on vram compression in the image import settings, although this only recommended for 3d usage as it can introduce artifacts, it might not be noticable in larger images.

I see that the type is compressed… is that vram compressed? But it is also RGBA8 which is 4 bytes per pixel and so that 4096x2048 image being 32mb tracks. So it seems like its uncompressed in VRAM, and from the sum of the images in the shown list that is 179 MBs, and you are only on the top quarter of the list.

To be honest i dont think there is anything to get around reducing VRAM here unless you reduce your sprite sheet image resolution using animation tricks to pack frames. Those “transperent“ pixels will always cost you.

1 Like