Failure while executing KTar::open while using KCompressionDevice as the device

David Faure faure at kde.org
Sat Nov 7 10:24:07 UTC 2015


On Saturday 07 November 2015 12:18:56 Nick Shaforostoff wrote:
>  > Aleix suggested QBuffer, but archives can be *huge*, so this might
> > eat all available memory. This is the reason why KTar uses a temp file
> > for the compressed-tar case.
> 
> qbuffer may be used for decompressing archives that are e.g. less than 50% of free ram
> if an archive is larger then tmpfile-based branch would be executed.

How many code paths do we want to maintain? ;)

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list