Re: Luajit memory leak bug.

  • From: Juan Carlos González Amestoy <jcgamestoy@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Wed, 29 Aug 2012 00:37:28 +0200

Thank you very much, Mike!!!

2012/8/28 Mike Pall <mike-1208@xxxxxxxxxx>

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


-- 
Juan Carlos González Amestoy

Other related posts: