Bug 455406 - Memory leak in Ruby interpreter
Memory leak in Ruby interpreter
Product: Fedora
Classification: Fedora
Component: ruby (Show other bugs)
All Linux
low Severity high
: ---
: ---
Assigned To: Akira TAGOH
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-07-15 08:50 EDT by Markus Schade
Modified: 2008-10-10 06:02 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-10-10 06:01:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Markus Schade 2008-07-15 08:50:40 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061712 Fedora/3.0-1.fc9 Firefox/3.0

Description of problem:
The ruby interpreter exhibits a memory leak in patchlevel 230 through 238.
Downgrading to ruby 1.8.6p110 or p114 (as shipped in f8 and f9) fixes this behaviour.
A fix is provided by upstream

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Actual Results:

Expected Results:

Additional info:
Comment 1 Akira TAGOH 2008-09-01 02:20:54 EDT
Can you test with ruby- again?
Comment 2 Paul Clifford 2008-09-01 10:34:18 EDT
I'm seeing the same thing in Fedora 9 with ruby-, where one of our programs leaks 500+MB per day.  The upstream bug report has another link to demonstrate the problem: http://pastie.org/228006.  Running this with the F9 packages shows a jump in memory usage from about 3.5MB to 70MB by the end.

I built ruby- for F9 and re-ran the test, and this time the memory usage only went up to 4.5MB.  That seems in line with the results I get from the ruby-1.8.5-5.el5_2.3 package in RHEL 5, so it appears to fix the problem.
Comment 3 Markus Schade 2008-10-10 06:01:42 EDT
It seems to be fixed by the current ruby-

Note You need to log in before you can comment on or make changes to this bug.