Open shreemaan-abhishek opened 3 months ago
It appears to be caused by Lua GC not reclaiming the Lua string in time or Lua GC not returning memory to the OS. Our private library luajit-plus improves memory usage in this case. Subscribing to OpenResty XRay gives you access to our luajit-plus private library.
Loading large response body with size > 300 MB into memory causes leak.
The purpose of collecting response body chunks is to record them in logs in the log phase.
Steps to reproduce:
events { worker_connections 1024; }
http {
}
version: