# Error Code 021

**URL:** <https://forum.makecode.com/t/error-code-021/5901>\
**Category:** Help\
**Created:** [February 1, 2021, 4:00pm UTC](https://forum.makecode.com/t/error-code-021/5901 "2021-02-01T16:00:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![TechFox](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/techfox/32/3226_2.png) [@TechFox](https://forum.makecode.com/u/TechFox)\
**Post date:** [February 1, 2021, 4:00pm UTC](https://forum.makecode.com/t/error-code-021/5901/1 "2021-02-01T16:00:34Z")

</div>

Sometimes my Game on Meowbit crashes and it shows an error (021) .  
Can someone help me? (Sorry for my bad English, I’m from Germany)

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [February 1, 2021, 4:20pm UTC](https://forum.makecode.com/t/error-code-021/5901/2 "2021-02-01T16:20:34Z")

</div>

If you look here:

> **[Errors on Hardware](https://arcade.makecode.com/hardware/errors)**
>
> When developing games, you might run into bugs that cause your game to crash.
> In the browser, these errors can be identified by using the debugger
> or by reading the messages displayed along with the error.

That means you ran out of memory. That is very common on hardware devices.

---

<div class="post-metadata">

**Author:** ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)\
**Post date:** [February 1, 2021, 5:14pm UTC](https://forum.makecode.com/t/error-code-021/5901/3 "2021-02-01T17:14:54Z")

</div>

Kein Problem dein Englisch ist gut! (Bin Österreicher)  
(Translation: No problem your English is good)

---

<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:** [February 1, 2021, 5:19pm UTC](https://forum.makecode.com/t/error-code-021/5901/4 "2021-02-01T17:19:10Z")

</div>

Can you share your game?  
The most common cause is having too many sprites on the screen at once.

You can turn on ‘Stats’ in the simulator menu to see how many sprites you have at once:

 ![2021-02-01 09.17.06](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/2/25bc15de3213bc4cc92d59c0bc1605470f0de8a2.gif)

Using “auto destroy” to remove sprites off screen is often enough to keep the sprite count down (depending on your game of course):

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/7/77eb1907f13f3c2449fe85416257b1e8a1a6ee51.png)

---

<div class="post-metadata">

**Author:** ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)\
**Post date:** [June 21, 2021, 3:11pm UTC](https://forum.makecode.com/t/error-code-021/5901/5 "2021-06-21T15:11:52Z")

</div>

Du sprech deutsch? Ich bin lernen deutsch in der letztes jahre, und ich kenne etwas deutsch. Sorry wenn es schlecht ist.

---

<div class="post-metadata">

**Author:** ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)\
**Post date:** [June 21, 2021, 7:21pm UTC](https://forum.makecode.com/t/error-code-021/5901/6 "2021-06-21T19:21:41Z")

</div>

Yes I do! Even though it is not fully correct but I know what you mean! I know how hard german is! You are doing great! Especially der,die,das…

---

<div class="post-metadata">

**Author:** ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)\
**Post date:** [June 21, 2021, 8:22pm UTC](https://forum.makecode.com/t/error-code-021/5901/7 "2021-06-21T20:22:16Z")

</div>

Thanks! 😅 I’m still kinda new to german tho. I have been learning it for only 2 years.
