[Openmcl-devel] Fix memory leak in an objc example

Leo Liu sdl.web at gmail.com
Wed Apr 30 13:05:44 PDT 2014


Hi there,

I was able to put together this small example (with lots of help from
#ccl irc channel). However it is leaking memory. To see it, load the
attached memleak.lisp file and run

  (loop repeat 10 do (all-applications))

The memory use (observed in Activity Monitor) increases > 2M for every
run. Could someone help? General tips on memory management using the
objc-bridge is also very welcome.

Thanks in advance,
Leo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: memleak.lisp
Type: application/emacs-lisp
Size: 699 bytes
Desc: memleak.lisp
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20140501/81596d75/attachment.bin>


More information about the Openmcl-devel mailing list