#What kind of "things" consume RAM in Godot?

1 messages · Page 1 of 1 (latest)

plucky fossil
#

A bit of a follow up to my previous question, though this one is more general.

Which things increase RAM usage, either on the engine or the project itself?
Does the quantity of nodes matter? do the media files affect it, or the preloading of media files? etc

Also, if anyone has tips on making a project more RAM consumption friendly, we are all ears 😄

harsh basin
#

Any data you store in memory consumes RAM. How much depends on how much data it is

#

Videos are very large, and audio can be too. Loading multiple levels into ram at once can also be big

#

If you are really concerned you should profile what exactly is eating your ram

plucky fossil
#

So, in short, loading anything takes ram?? :0

pale forge
#

If it isn't on the disk, pretty much

#

Anything that changes during runtime or needs to be "kept track of" in some way is gonna be in memory, because that's how godot keeps track of its current state. That means anything that extends a node, for example, will be in memory.