LWN.net Logo

Squashfs submitted for the mainline

Squashfs submitted for the mainline

Posted Oct 30, 2008 13:22 UTC (Thu) by ajb (subscriber, #9694)
In reply to: Squashfs submitted for the mainline by epa
Parent article: Squashfs submitted for the mainline

If you're doing the compressing, you ought to be able to guarantee a memory limit for decompression. Just try decompressing while you still have the original around, and tweak the compression parameters if you run out of memory. That's how MPEG encoders work - consumer products that do mpeg stream decompression have a defined amount of memory (2Mbits, if I remember correctly).

Admittedly that might be considered an expensive solution, but it proves that a solution exists.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds