MDBT42Q vars and heap #3388
Replies: 3 comments
-
|
Posted at 2020-05-29 by @gfwilliams
Normal Espruino devices don't actually have a heap since they don't use malloc/free, so there's not normally any need :) |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-05-29 by @MaBecker Ok, the reason is that I have no clue how much memory is need for loading all firmware and additional modules. Decide to remove some firmware module and reduced vars to 1700 and check the free stack size ..... I can definitely bump vars up again a litte and load some mode JS modules like mqtt and oled and more :) |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-05-29 by @gfwilliams Yes - loading JS modules shouldn't affect the available memory you see there at all. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2020-05-28 by @MaBecker
To get details about vars I use process.memory().
How to get detail about heap?
Beta Was this translation helpful? Give feedback.
All reactions