Re: Luajit memory leak bug.

  • From: Mike Pall <mike-1208@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Tue, 28 Aug 2012 15:31:48 +0200

Juan Carlos González Amestoy wrote:
> If i call the 'test' method with a value greater than 50 the memory buffer
> is never released (the print line prints >1000kb).

Thank you for the report and the test case! Fixed in git HEAD.

[Oh, well ... this means I had to abandon constifying arbitrary
immutable upvalues. Values that may retain large amounts of memory
are no longer constified, since constified values are indirectly
attached to the prototype and cannot easily be released when
individual closures are collected.]


Other related posts: