FFI: apparent memory leak when using callbacks
----------------------------------------------
Key: JRUBY-3832
URL: http://jira.codehaus.org/browse/JRUBY-3832
Project: JRuby
Issue Type: Bug
Components: JRuby-extras
Affects Versions: JRuby 1.3.1
Environment: Linux 2.6.27-14-generic #1 SMP Tue Jun 30 19:57:39 UTC
2009 i686 GNU/Linux
jruby 1.3.1 (ruby 1.8.6p287) (2009-06-15 6586) (Java HotSpot(TM) Client VM
1.6.0_10) [i386-java]
Reporter: Mike Dalessio
Use of a callback appears to cause a memory leak, wherein FFI::ManagedStruct
objects are not released.
I'm unsure of the root cause.
Code to reproduce this is available at:
http://gist.github.com/156081
(Originally reported in http://github.com/tenderlove/nokogiri/issues#issue/103)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email