[JW Lua] Enclosures

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Mon Oct 27 22:32:48 CET 2014


Charles,

There is no need to release the memory from the "Create" methods in JW 
Lua. It's handled by a separate GC in JW Lua. I need to mention this 
much more clear in the wiki.

If you constantly have a unresponsive system after running a specific 
script, something might be wrong. I'll test run the script through a 
memory checker and see if I find something.


Best regards,

Jari Williamsson


On 2014-10-25 18:12, Charles O. Lawrence wrote:
> Jari,
>
> Thanks for the script on enclosures in the MM forum.
>
> The PDK Framework documentations says that the memory allocated on the
> heap for the enclosure must be released by the user.  The script does
> not do this, or does it.  How?  Sometime shortly after running the
> script, my computer became so sluggish and unresponsive as to require a
> drastic pull-the-plug and reboot in order to get control back.  I’m not
> sure it is even related, but could it have been some kind of memory leak
> or run-away thrashing situation caused by the script?
>
> Charles
>
>
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>






More information about the JWLua mailing list