Bug 89127 - RFE: IDTXglob/IDTXload methods need changes
RFE: IDTXglob/IDTXload methods need changes
Product: Red Hat Linux Beta
Classification: Retired
Component: rpm-python (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-04-17 17:43 EDT by Adrian Likins
Modified: 2007-04-18 12:53 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-09-15 00:14:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
test script for showing memory leak (345 bytes, text/plain)
2003-04-17 17:44 EDT, Adrian Likins
no flags Details

  None (edit)
Description Adrian Likins 2003-04-17 17:43:15 EDT
Description of problem:

looks like results of IDXTLoad() never get
garbage collected... test script included
that shows it... just run that and it will
eat about 25 megs every iteration...

Version-Release number of selected component (if applicable):
[root@sludge test]# rpm -q rpm

How reproducible:
pretty easy, see script...

Steps to Reproduce:
1. run test script...
Comment 1 Adrian Likins 2003-04-17 17:44:36 EDT
Created attachment 91183 [details]
test script for showing memory leak
Comment 2 Jeff Johnson 2003-04-18 11:16:26 EDT
Heh, missed refcount on header while building tuple of tuples of headers.
IDTXglob too.

What's bogus (by design) is sucking every header out of a rpmdb into
a >40Mb data structure. Getting an iterator on top of the glop, or
adding cutoff time on retrieval, is gonna be needed.

Changinging bug to RFE ...
Comment 3 Jeff Johnson 2003-06-25 12:57:33 EDT
refcount bug fixed, converting to RFE for iterator.
Comment 4 Jeff Johnson 2003-09-15 00:14:54 EDT
Moot problem afaik.

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