I can confirm on my end. Placing 8 empty actors with verse tags increased my memory thermometer from 39k to 94k. After deleting them my memory reverted back to 39k. I suspect that this bug has existed for ages as my map always felt heavier than it should have.
In my use case I used them to easily get the vector on my map. Using an array for the same actors don’t seem to affect the memory in the same way.
Do you happen to have an island code that shows this problem that you could share the link code to? That would be very helpful in understanding what exactly is happening.
Hey! I am working on a map that has been slowly creeping up in memory and my team couldnt figure out why. I stumbled upon a post on the forums talking about how using custom scene graph entities will add the size of the compiled verse to the memory. Sadly that wasnt our issue, but I did discover that tags do the exact same thing. I tried the following on a blank project:
“fluff” file (48k lines) + no tagged object = 2k mem
“fluff” file + tagged object = 15k mem
no “fluff” file + tagged object = 3k mem
so, the reason why tags explode the memory is because it will bring all of your verse into the memory calculation.
Thank you for the island codes and information ButtersHQ, it is always greatly appreciated.
I believe that what you’re seeing isn’t the tags themselves costing memory.
Once a level contains anything backed by Verse, such as a tagged object or a custom Scene Graph component, the Verse runtime and the project’s compiled Verse code are counted toward the island’s memory. That’s why the first tagged object causes a big step and removing the last one brings it back down.
It isn’t new, but it becomes more noticeable as the Verse feature set grows and we start using it in more places in the framework.
We’re actively working on reducing Verse’s memory footprint in general, and we’re also looking at how to best calculate the budget itself.
Please let me know if you have any additional questions.