# Estimating code size

**URL:** <https://forum.makecode.com/t/estimating-code-size/20642>\
**Category:** Help\
**Tags:** game\
**Created:** [June 16, 2023, 9:05pm UTC](https://forum.makecode.com/t/estimating-code-size/20642 "2023-06-16T21:05:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SerGind](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@SerGind](https://forum.makecode.com/u/SerGind)\
**Post date:** [June 16, 2023, 9:05pm UTC](https://forum.makecode.com/t/estimating-code-size/20642/1 "2023-06-16T21:05:17Z")

</div>

I’m trying to load a game on to my meowbit, but the code is larger than the memory size of the device. How do I monitor my code size while I’m coding in MakeCode Arcade?

---

<div class="post-metadata">

**Author:** ![NotAnArcadeCabinet](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/notanarcadecabinet/32/9228_2.png) [@NotAnArcadeCabinet](https://forum.makecode.com/u/NotAnArcadeCabinet)\
**Post date:** [June 19, 2023, 4:54pm UTC](https://forum.makecode.com/t/estimating-code-size/20642/2 "2023-06-19T16:54:33Z")

</div>

On Windows:

1. Install Notepad++.
2. On MakeCode Arcade switch to Python, and copy everything.
3. Open Notepad++.
4. Paste your project’s Python code in Notepad++, and save the file as a Python script (.py).
5. Locate the file, right-click it, and select ‘Properties’.
6. Look at the file size.  
On MacOS:
7. Install CodeRunner from Mac App Store.
8. On MakeCode Arcade switch to Python, and copy everything.
9. Open CodeRunner.
10. Paste your project’s Python code in CodeRunner, and save the file as a Python script (.py).
11. Locate the file, right-click it, and select ‘Properties’.
12. Look at the file size.  
On Linux (Ubuntu):
13. Install Mu Editor from Ubuntu Software/Snap Store.
14. On MakeCode Arcade switch to Python, and copy everything.
15. Open Mu and delete row 1. (//insert your code here)
16. Paste your project’s Python code in Mu, and save the file.
17. Locate the file, right-click it, and select ‘Properties’.
18. Look at the file size.

---

<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 19, 2023, 9:32pm UTC](https://forum.makecode.com/t/estimating-code-size/20642/3 "2023-06-19T21:32:52Z")

</div>

> [@NotAnArcadeCabinet](#):
>
> Python

Why Python? TypeScript (JavaScript) is a lot more stable…
