-
Sun 2021.06.06
'it will clean the memory: global["\xFF"].HttpCC=[]; But i can't use it in js'
'How can I achieve the same in my javascript code?'Does running the following command more frequently, both inform and improve on making memory available?
process.memory()
'Run a Garbage Collection pass, and return an object containing information on memory usage'
-
@Robin yes, I use the process.memory() and in some cases it doesn't help. In those cases, I can only empty the HttpCC array manually.
I use the MDBT42Q (2v09) with the the ESP8266. Sometimes the memory starts to run low.
In this case, the size of HttpCC increased:
if i use the following command in WEB IDE (left side), it will clean the memory:
But i can't use it in js.
How can I achieve the same in my javascript code?