Does TarArchiveOutputStream load contents in memory?
I want to know, does TarArchiveOutputStream in java load contents in memory before writing to file? I want to write large files to tarball. The size of files is in few GB.
I am using org.apache.commons.compress.archivers.tar.TarArchiveOutputStream class for creating tarball. Will it eat all my memory while creating large files? 
Does TarArchiveOutputStream load contents in memory?
===

I want to know, does TarArchiveOutputStream in java load contents in memory before writing to file? I want to write large files to tarball. The size of files is in few GB.
I am using org.apache.commons.compress.archivers.tar.TarArchiveOutputStream class for creating tarball. Will it eat all my memory while creating large files? 