Closed markuman closed 8 years ago
Try to insert collectgarbage() before self:finish()
Yes. What he said. Basically you are filling up the memory of your device. tor. 10. mar. 2016 kl. 13.53 skrev yurayko notifications@github.com:
Try to insert collectgarbage() before self:finish()
— Reply to this email directly or view it on GitHub https://github.com/kernelsauce/turbo/issues/252#issuecomment-194829726.
Mvh / Best regards John Abrahamsen Tlf/Phone: (+47) 941 35 009
Yes, that works fine. Thx!
I want to use Turbolua with a webform to upload files (at onces, no chunked upload).
Here is my
main.lua
andupload.html
: https://gist.github.com/markuman/9f280b11d8eb602ae903This works, but after uploading several files of medium size, it can be observed that the used memory is growing and growing ... until it hits
/usr/local/share/lua/5.1/turbo/structs/buffer.lua:75: No memory
. So how to release the memory?