monkeyDluffy6017 commented on issue #10618: URL: https://github.com/apache/apisix/issues/10618#issuecomment-1870936375
please check if the memory leak happens in lua or in c ``` curl http://127.0.0.1:9180/apisix/admin/routes/test \\n-H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '\n{\n "uri": "/lua_memory_stat",\n "plugins": {\n "serverless-pre-function": {\n "phase": "rewrite",\n "functions" : ["return function() local mem = collectgarbage(\"count\") ngx.say(\"the memory allocated by lua is \", mem, \" kb\"); end"]\n }\n }\n}' ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
