# STA Ecobeasts Trash Cleanup! Meowbit error 021

**URL:** <https://forum.makecode.com/t/sta-ecobeasts-trash-cleanup-meowbit-error-021/4157>\
**Category:** Arcade\
**Tags:** game\
**Created:** [October 29, 2020, 2:52pm UTC](https://forum.makecode.com/t/sta-ecobeasts-trash-cleanup-meowbit-error-021/4157 "2020-10-29T14:52:37Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![Dreadmask197](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dreadmask197/32/10494_2.png) [@Dreadmask197](https://forum.makecode.com/u/Dreadmask197)\
**Post date:** [October 29, 2020, 5:51pm UTC](https://forum.makecode.com/t/sta-ecobeasts-trash-cleanup-meowbit-error-021/4157/21 "2020-10-29T17:51:42Z")

</div>

hmm… so the textsprite extension uses up a lot of memory due to writing in you words and turning them into pixel art. Then you change the sizes which take up even more memory. Am I right @richard? Confusing, but I think I get it

---

<div class="post-metadata">

**Author:** ![darzu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/darzu/32/1882_2.png) [@darzu](https://forum.makecode.com/u/darzu)\
**Post date:** [October 29, 2020, 6:02pm UTC](https://forum.makecode.com/t/sta-ecobeasts-trash-cleanup-meowbit-error-021/4157/22 "2020-10-29T18:02:01Z")

</div>

Hmm this could be tricky. Also the way outlines are computed is pretty expensive and I don’t think we can do that every frame.

With the current approach, we can probably save considerable memory by reusing the sprite’s current image if it is of the correct size already, and maybe oversizing and rounding the image a bit so that the size is less likely to change with minor updates.

---

<div class="post-metadata">

**Author:** ![Dreadmask197](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dreadmask197/32/10494_2.png) [@Dreadmask197](https://forum.makecode.com/u/Dreadmask197)\
**Post date:** [October 29, 2020, 6:09pm UTC](https://forum.makecode.com/t/sta-ecobeasts-trash-cleanup-meowbit-error-021/4157/23 "2020-10-29T18:09:27Z")

</div>

So I guess that you shouldn’t use too many text sprites due to memory storage?

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [October 29, 2020, 6:18pm UTC](https://forum.makecode.com/t/sta-ecobeasts-trash-cleanup-meowbit-error-021/4157/24 "2020-10-29T18:18:09Z")

</div>

Are you sure the outline won’t work? I think it’s worth a shot

---

<div class="post-metadata">

**Author:** ![jmods](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jmods](https://forum.makecode.com/u/jmods)\
**Post date:** [October 30, 2020, 5:56am UTC](https://forum.makecode.com/t/sta-ecobeasts-trash-cleanup-meowbit-error-021/4157/25 "2020-10-30T05:56:14Z")

</div>

I took out the outline and then it worked…

[Previous page](https://forum.makecode.com/t/sta-ecobeasts-trash-cleanup-meowbit-error-021/4157.md?page=1)
