bundles/org.tukani.xz/src/org/tukaani/xz/FilterOptions.java
public static int getDecoderMemoryUsage(FilterOptions[] options) {
        int m = 0;

        for (int i = 0; i < options.length; ++i)
            m += options[i].getDecoderMemoryUsage();

        return m;
    }
public static int getDecoderMemoryUsage(FilterOptions[] options) {
        int m = 0;

        for (int i = 0; i < options.length; ++i)
            m += options[i].getDecoderMemoryUsage();

        return m;
    }
Gets how much memory the decoder will need with
the given filter chain. This function simply calls
<code>getDecoderMemoryUsage()</code> for every filter
in the array and returns the sum of the returned values.