# Size problem?

**URL:** <https://forum.makecode.com/t/size-problem/20508>\
**Category:** Help\
**Created:** [June 9, 2023, 5:24pm UTC](https://forum.makecode.com/t/size-problem/20508 "2023-06-09T17:24:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sysdl132](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sysdl132/32/4717_2.png) [@sysdl132](https://forum.makecode.com/u/sysdl132)\
**Post date:** [June 9, 2023, 5:24pm UTC](https://forum.makecode.com/t/size-problem/20508/1 "2023-06-09T17:24:30Z")

</div>

[robo-technical-group/monopoly: MakeCode Arcade port of Hasbro’s Monopoly(R). (github.com)](https://github.com/robo-technical-group/monopoly)  
This is the repository. (not mine)

I tried to download this to my [Meowbit device[official editor version 8.5.41]](https://arcade.makecode.com) but it turned out a “code too large”

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

I did the same step on another 3rd-party editor → [MakeCode Editor (ovobot.cc)[ms makecode version 6.12.22], it is used for Xtron pro and has extra functions](https://xmaker.ovobot.cc/)  
The “download” worked and I got the file(though there are a lot of problems running on my Meowbit device)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/d/dd0cbb10c2c137e186e0c366a638d00bba5a1b43.png)

I opened the output file above in [arcade.makecode.com](http://arcade.makecode.com) and it can be opened. But when I clicked the “download” button the download failed again, with the error above (code too large).

I don’t understand why. Can I use another (maybe older) official arcade version ([https://github.com/Microsoft/pxt/](https://github.com/Microsoft/pxt/)) to download a file with a better support for Meowbit?

---

<div class="post-metadata">

**Author:** ![Cookey](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cookey/32/16265_2.png) [@Cookey](https://forum.makecode.com/u/Cookey)\
**Post date:** [June 9, 2023, 7:39pm UTC](https://forum.makecode.com/t/size-problem/20508/2 "2023-06-09T19:39:54Z")

</div>

I also have this issue. I have figured out how to solve it. You just need to condense your game down smaller or you can force it into the device but sometimes that doesn’t work you just need to download it to your computer to force it in there after doing that plug your device go in download Files take that drag and drop it into the device file.

---

<div class="post-metadata">

**Author:** ![danger\_kitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/danger_kitty/32/32006_2.png) [@danger\_kitty](https://forum.makecode.com/u/danger_kitty)\
**Post date:** [June 12, 2023, 4:53pm UTC](https://forum.makecode.com/t/size-problem/20508/3 "2023-06-12T16:53:50Z")

</div>

I also have that issue on all my games

---

<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, 5:06pm UTC](https://forum.makecode.com/t/size-problem/20508/4 "2023-06-19T17:06:39Z")

</div>

If there’s too much code in a project, the system is physically incapable of storing that huge amount of information (instructions) on the frankly, very limited device flash memory. There’s no way around this restriction, unless you install more storage onto your device, but that’s a whole topic for another time

---

<div class="post-metadata">

**Author:** ![sysdl132](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sysdl132/32/4717_2.png) [@sysdl132](https://forum.makecode.com/u/sysdl132)\
**Post date:** [June 21, 2023, 4:24pm UTC](https://forum.makecode.com/t/size-problem/20508/5 "2023-06-21T16:24:03Z")

</div>

what is the default maximum size of a program (512kb?)

_(does the makecode official think every device only have up to 512kb or less?)_

- For example, Meowbit have 2Mb of flash space while xtron pro have 16mb. I tried to select both of them in the download menu before but neither of them have succeeded to download. (code too large, using the code I’ve mentioned in the first post) \*

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/b/b894aa46ca0d047a4b4bea61fab5792460c10894.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/e/e6422439e08093ed2ba3739b338bb664deb5f35c.png)

---

<div class="post-metadata">

**Author:** ![sysdl132](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sysdl132/32/4717_2.png) [@sysdl132](https://forum.makecode.com/u/sysdl132)\
**Post date:** [June 21, 2023, 4:24pm UTC](https://forum.makecode.com/t/size-problem/20508/6 "2023-06-21T16:24:10Z")

</div>

In this page I found the “512kb”: [Creating your own Arcade hardware (makecode.com)](https://arcade.makecode.com/hardware/adding)
