# How much memory is left?

**URL:** https://forum.electra.one/t/how-much-memory-is-left/2659
**Category:** General discussion
**Created:** [January 29, 2024, 7:53pm UTC](https://forum.electra.one/t/how-much-memory-is-left/2659 "2024-01-29T19:53:44Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![javelin276](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/javelin276/32/2625_2.png) [@javelin276](https://forum.electra.one/u/javelin276)
#### Post date: [January 29, 2024, 7:53pm UTC](https://forum.electra.one/t/how-much-memory-is-left/2659/1 "2024-01-29T19:53:44Z")

</div>

Hi Guys, I want to be able to check to see how much memory is left in the E1, How do I do that?  
I currently have 603 parameterNumbers and 3200 lines of LUA code in my FS1R preset… and I haven’t even attempted to load and parse a patch yet. That’s next. (I have a mk-II)

---

<div class="post-metadata">

### Author: ![NewIgnis](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/newignis/32/767_2.png) [@NewIgnis](https://forum.electra.one/u/NewIgnis)
#### Post date: [January 30, 2024, 11:49am UTC](https://forum.electra.one/t/how-much-memory-is-left/2659/2 "2024-01-30T11:49:34Z")

</div>

There is a lua garbage collect count function that tells you how much is used. I started using it last Sunday so not much to tell you yet

---

<div class="post-metadata">

### Author: ![javelin276](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/javelin276/32/2625_2.png) [@javelin276](https://forum.electra.one/u/javelin276)
#### Post date: [January 30, 2024, 3:00pm UTC](https://forum.electra.one/t/how-much-memory-is-left/2659/3 "2024-01-30T15:00:42Z")

</div>

I’ll go look for that one. Thanks.  
Hmmm. I don’t see anything like that in the online E1 Manual.  
Oh, it’s a LUA function. Experimentation will be required here…

---

<div class="post-metadata">

### Author: ![martin](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/martin/32/145_2.png) [@martin](https://forum.electra.one/u/martin)
#### Post date: [January 30, 2024, 3:47pm UTC](https://forum.electra.one/t/how-much-memory-is-left/2659/4 "2024-01-30T15:47:21Z")

</div>

I’d say there’s no need to experiment. On mk2 603 parameters and 3200 lines of Lua is a small fraction of the memory. And on mk1 you are over the limit already…

---

<div class="post-metadata">

### Author: ![javelin276](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/javelin276/32/2625_2.png) [@javelin276](https://forum.electra.one/u/javelin276)
#### Post date: [January 30, 2024, 4:14pm UTC](https://forum.electra.one/t/how-much-memory-is-left/2659/5 "2024-01-30T16:14:56Z")

</div>

Fantastic! Thanks Martin.
