sean@duke.edu (Sean Dilda)
- Login: sean@duke.edu
- Registered on: 12/19/2014
- Last sign in: 01/11/2023
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 2 | 2 |
Activity
08/07/2021
-
12:03 AM Ruby Bug #18065 (Closed): 3.0.2 - possible memory leak in Hash#transform_keys!
- I found what may be a memory leak in Hash#transform_keys! in version 3.0.2
This sample code will reproduce the issue. It quickly consumes gigabytes of memory when running on 3.0.2, but has very normal memory usage on 3.0.1. I test...
12/07/2019
-
02:35 AM Ruby Feature #14922: Resolv getaddresses ignores AAAA records for IPv6
- I was recently bit by this as well. The documentation at https://ruby-doc.org/stdlib-2.6.5/libdoc/resolv/rdoc/Resolv/DNS.html clearly states that getaddresses will return IPv6 addresses, but doesn't list any conditions. Based on this I...
12/19/2014
-
03:06 PM Ruby Bug #10620: #define_singleton_method keeps object from being garbage collected
- Thanks for the quick response.
I tried your code and saw what you did.. it cleans up the objects, just a lot slower than I expected.
Please feel free to close out this bug. I'd do so, but I'm not seeing the option. -
12:45 AM Ruby Bug #10620 (Rejected): #define_singleton_method keeps object from being garbage collected
- After using #define_singleton_method on an object, the object is never garbage collected
Sample code:
#!/usr/bin/env ruby
obj = Object.new
obj_id = obj.object_id
obj = nil
GC.start
GC.start
GC.start
GC.start
begin
Obje...