Memory leak in trap()
---------------------

                 Key: JRUBY-1734
                 URL: http://jira.codehaus.org/browse/JRUBY-1734
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
    Affects Versions: JRuby 1.x
         Environment: JRuby rev 5284
            Reporter: Alexey Verkhovsky


This script leaks several kilobytes per iteration:

{quote}
loop do
  previous = trap('TERM') {  }
  trap('TERM', previous)
end
{quote}

Ola and myself are working on a fix.
Critical importance of this issue is in the fact that trap is used in a similar 
fashion in ActiveRecord::Transactions::ClassMethods#transaction()

-- 
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

Reply via email to