}
if (size >= 0 && size < 1024*1024) {
MemoryArchive archive = new MemoryArchive(false);
InputStream in = getData().getStream();
try {
archive.run(in);
} catch (Exception e) {
throw new IOException("Error while reading stream", e);
} finally {
in.close();
}