Bug 52965 - xdelta ignores --maxmem
Summary: xdelta ignores --maxmem
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: xdelta
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-31 18:01 UTC by Tim Waugh
Modified: 2013-07-02 22:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-08 13:50:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Tim Waugh 2001-08-31 18:01:55 UTC
Description of Problem:
xdelta ignores the --maxmem option.

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

How Reproducible:
100%

Steps to Reproduce:
1. xdelta delta --maxmem=16M largefile1 largefile2 deltafile
2. See how much memory it's taking.

Actual Results:
It takes more than 16M.

Expected Results:
It takes at most 16M.

Additional Information:

Comment 1 Jindrich Novy 2005-09-08 13:50:43 UTC
Tim, I had a look into it for a while and considered the --maxmem option broken
anyway as it refuses to allocate more than 108 (1MB) pages and if you define
--maxmem=128M while diffing some large files, everything will work fine up to
108 pages are allocated for the xdelta's LRU cache. After this limit xdelta
slows down significantly as it then considers it has no cached pages.

I filed this bug upstream:
http://sourceforge.net/tracker/?func=detail&atid=106966&aid=1284923&group_id=6966


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