I just updated my local git repo from upstream (24-04-2018) and rebuild an new firmware. Now I get around 6500 bytes free RAM!
Is this normal? is free RAM so low on recent (official) dev builds or am I doing something wrong?
Thanks in advance.
dev build free memory
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: dev build free memory
Yes, latest core do not give much free memory left. But are you in need of the Dev version for your project?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: dev build free memory
Well, yes and no.
My main project only needs P115 HeatpumpIR. With the recent changes I can now create a custom plugin set to include P115 (and probably exclude some plugins that I won't need).
The other thing I'm currently working on is a rules compiler. The rules are being compiled on the browser into bytecode (the compiler is written in javascript) and posted to the device along with the source code. Then the device can execute the bytecode using a simple stack-based VM. The benefit is (hopefully) faster rules execution, complex arithmetic and boolean expressions, nested if-then-else and more.
Obviously this needs to be able to work with any and all plugins. My worry now is that there might not be enough memory for the VM to run.
My main project only needs P115 HeatpumpIR. With the recent changes I can now create a custom plugin set to include P115 (and probably exclude some plugins that I won't need).
The other thing I'm currently working on is a rules compiler. The rules are being compiled on the browser into bytecode (the compiler is written in javascript) and posted to the device along with the source code. Then the device can execute the bytecode using a simple stack-based VM. The benefit is (hopefully) faster rules execution, complex arithmetic and boolean expressions, nested if-then-else and more.
Obviously this needs to be able to work with any and all plugins. My worry now is that there might not be enough memory for the VM to run.
Re: dev build free memory
We will switch back to core 2.3.0, so there will be some more free memory.
And I have some ideas to free up some more memory. But that may take some time.
And I have some ideas to free up some more memory. But that may take some time.
Re: dev build free memory
Just did a build with only stable plugins + p115 + my own (based on MQTT Import) and got ~10K free RAM. Switching to 2.3.0 core added another 3.5K free RAM.
Who is online
Users browsing this forum: Google [Bot] and 90 guests