I am using Perl Archive :: Tar . The problem is that it pushes everything into memory and does archiving, and then writes it to the file system, so there is a limit on the maximum file size that can be archived. In most cases, this indicates a lack of memory. In the case of GNU tar, it takes a fragment of a file, archives it, and writes it to memory so that it can process files of any size. How to do this using the Perl Archive :: Tar module.
perl tar archive
Ram
source share