pbchou opened a new pull request #8764:
URL: https://github.com/apache/trafficserver/pull/8764


   This fix adds reference counting for the Lua plugin remap instance handles. 
The reference counting
   allows us to eliminate an existing memory leak of the instance handles. In 
addition, this means
   that the old Lua memory allocated by LuaJIT may also be freed via LuaJIT 
garbage collection.
   
   This fix also adds the '--ljgc' remap instance plugin parameter to the Lua 
plugin. This paramter
   enables on-demand LuaJIT garbage collection while the remap instances are 
created and deleted.
   This is useful when operating close to the LuaJIT memory limit, which is 
currently 2GB on Linux
   using LuaJIT v2.1.0-beta3 from 2017.


-- 
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]


Reply via email to