# Best way to add many animations

**URL:** <https://forums.unrealengine.com/t/best-way-to-add-many-animations/762387>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Widget, Blueprint, CPP, question\
**Created:** [February 2, 2023, 6:57pm UTC](https://forums.unrealengine.com/t/best-way-to-add-many-animations/762387 "2023-02-02T18:57:52Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![RhythmScript](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RhythmScript](https://forums.unrealengine.com/u/RhythmScript)\
**Post date:** [June 3, 2023, 1:25pm UTC](https://forums.unrealengine.com/t/best-way-to-add-many-animations/762387/23 "2023-06-03T13:25:10Z")

</div>

> [@Roy\_Wierer.Seda145](#):
>
> As far as I know , yes. When you load a class into memory you load the properties into memory. If those properties happen to be / happen to contain hard references then assume they + their references are all loaded in memory even if you don’t access them. Especially when you develop an app for low memory devices like potatoes or mobile phones this can be an issue. use soft ptrs where you can.

So, just wanted to let you know that you were exactly right about this and I thank you profusely for pointing it out. I was doing some size map checking and realized that my character was pulling literal GB of memory down to load every attack animation referenced in my (increasingly large) attack tables into memory simultaneously. Swapped these for soft references and instantly dropped the character’s size map to 600MB with no loss of runtime performance. Thank you for the very good advice, I should have listened to it sooner.

---

_[View the full topic](https://forums.unrealengine.com/t/best-way-to-add-many-animations/762387)._
