Question about using the same resource for two scenes

Godot Version

4.3

Question

I have split up items in my game into resources and I have a base pickup scene that I put the resource into to create the object in the world by copying over a mesh and data that I have stored in the resource. If two base pickups use the same resource file, and they both use that same mesh, is there only one mesh stored in data that they both use or do they each have their own instance of that mesh so it is using the size of that mesh x 2 in memory ? Just want to know if it is referencing that mesh or if it is duplicating it I guess

var new_mesh = original_mesh.duplicate()

Oh I’m not wondering how to duplicate it , I’m more looking for what the data usage is

If you don’t use duplicate then it will be one shared resource. Resources are designed to require explict duplication, so it’s hard to accidentally eat up system memory.

And the mesh inside of the two objects is the same in memory between them?