|Subject:||Archive::Tar giving Out Of Memory error on 32 bit perl|
I am trying to use Archive::Tar to extract one .tar.gz file. It is giving out of memory error. The issue occurs only on 32 bit Perl. I tried with following versions- 1. 32 bit ActiveState Perl v5.20.2 => Out Of Memory 2. 64 bit ActiveState Perl v5.20.2 => Completes successfully. 3. 32 bit Strawberry Perl v5.20.2 => Out of Memory 4. 64 bit Strawberry Perl v5.20.2 => Completes successfully. 5. 32 bit Perl built from source code using VS2010 => Out of Memory So, it looks like it is giving out of memory error only on 32 bit Perl. Size of the tar.gz file 31 MB without extraction. And after extraction size of its contents is 289 MB. I am using 'Archive::Tar->new()' and there it is giving error. I have attached my sample program(Arhive_Tar_OOM.pl) and output of executing this program on 32 and 64 bit perl of ActiveState and Strawberry distribution. I also tried with Archive::Tar version 1.96 and 2.04 but for both version facing same issue. I need to use Archive::Tar on 32 bit Perl. Can you please take a look ?