As the title says... Chat on...

User avatar
By gume
#5834 Hi! I try to create a small web service for the module in Lua. Before loading the code, I have around 16k free heap, but the when the code runs I have only around 4k. In the code I listen on port 8080 and I receive service request, but when I would like to send back something, the module crashes and restarts. Previously It worked with a smaller code, so I suspect running out of memory.

- How could I increase the available memory? I tried set the unused variables to nil, but that has no impact.
- How could I make sure that this is an 'out of memory' like event? Are there any error messages for that?

Thanks for any help!