NodeMCU-HTTP-Server icon indicating copy to clipboard operation
NodeMCU-HTTP-Server copied to clipboard

getting not enough memory

Open shaig4 opened this issue 6 years ago • 7 comments

after ive upload the httpserver file: dofile("httpServer.lua") not enough memory

shaig4 avatar Jul 10 '18 18:07 shaig4

me too

stoneWeb avatar Jul 19 '18 02:07 stoneWeb

Works fine for me. Can you try a recent integer build?

FrankX0 avatar Sep 04 '18 19:09 FrankX0

Just restart the device. It will work.

zorgoz avatar Feb 20 '19 11:02 zorgoz

I can't find a way to solve the memory problem. Do we want to introduce the memory swap function of the operating system in an http server library?😝

Maybe you can try: https://github.com/wangzexi/NodeMCU-HTTP-Server/issues/2#issuecomment-272389714

wangzexi avatar Mar 04 '19 15:03 wangzexi

I try hardware reset and I still find myself with the same problem. Do you have a solution?

rajhihamza0001 avatar Mar 31 '19 11:03 rajhihamza0001

The memory is freed, but it takes a while

Alfrederson avatar May 18 '19 22:05 Alfrederson

It is necessary that you find out the place a big chunk allocated, then call the collectgarbage function at there.

yulincoder avatar Jun 13 '20 17:06 yulincoder