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:
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