#611 √ resolved
Jeremy Roach

[PATCH] plug memory leak in ffi

Reported by Jeremy Roach | June 20th, 2008 @ 12:52 PM | in 1.0 preview

see memory usage in 'top' before and after the patch with this code:

loop do
  Platform::Math.exp(1.0)
end

Comments and changes to this ticket

  • Federico Builes

    Federico Builes June 20th, 2008 @ 07:07 PM

    • → State changed from “new” to “resolved”

    Thanks for catching this Jeremy, your patch has been pushed in 653c907e, with a minor fix in the next commit (8589957) to replace the usage of free with a XFREE macro (to let the GC know about external allocs).

    Let evan know your public key in case you need a commit bit.

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Tags