Subject: | reading odf documents in a loop exausts all memory |
Date: | Fri, 23 Jan 2015 18:50:53 -0200 |
To: | bug-OpenOffice-OODoc [...] rt.cpan.org |
From: | Ivo de Carvalho Peixinho <ivocarv [...] gmail.com> |
perl v5.14.2
OpenOffice-OODoc-2.125
Linux debian-ncmec 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1 x86_64 GNU/Linux
reading several odf files in a loop reusing the same variable exausts
all memory. Setting variable to "" produces no effect.
example:
#!/usr/bin/perl
use OpenOffice::OODoc;
$filename="teste.odt";
while (1) {
my $document=odfDocument(file => $filename);
}
Ivo.