openresty / luajit2

OpenResty's Branch of LuaJIT 2
https://luajit.org/luajit.html
Other
1.2k stars 193 forks source link

nginx: lua atpanic: Lua VM crashed, reason: not enough memory #159

Open kollol-chowdhury-incontact opened 2 years ago

kollol-chowdhury-incontact commented 2 years ago

Hi Team,

We are using Kong 2.7.1 , and we are getting this error: "nginx: lua atpanic: Lua VM crashed, reason: not enough memory".

Want to know how much memory is allocated to Lua VM and how do we check that.

Kong 2.7.1 uses OpenResty 1.19.9.1

TIA

zhuizhuhaomeng commented 2 years ago

@kollol-chowdhury-incontact you can use resty-memory analyzer from https://xray.openresty.com

kollol-chowdhury-incontact commented 2 years ago

Hi @zhuizhuhaomeng : Thanks for the reply. I believe this is a paid tool and it asks for OpenResty credentials which I don't have.

zhuizhuhaomeng commented 2 years ago

yes, it is a paid tool. You can apply for a trial