Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: OpenOffice::OODoc. Slow access to a cell content with getCellValue

by pvaldes (Chaplain)
on Jun 06, 2016 at 09:57 UTC ( [id://1164956] : note . print w/replies, xml ) Need Help??


in reply to OpenOffice::OODoc. Slow access to a cell content with getCellValue

I keep doing my little research, and it seems that problems with memory in this module aren't new. This is a similar scenery reported as a bug in 2015

"Reading several odf files in a loop reusing the same variable exhausts all memory. Example:"

# Fails #!/usr/bin/perl use OpenOffice::OODoc; $myfile = "test.odt"; while(1){my $var = odfDocument(file => $myfile)}

Why this happens? Do you think that adding an undef $value after the "foreach my $col" loop in my script would make a difference?. I didn't notice any improvement

This is interesting also, any experience with this other module?:

"For applications that make intensive spreadsheet processing, a switch to ODF::lpOD (more efficient and user-friendly than OpenOffice::OODoc) should be considered"
  • Comment on Re: OpenOffice::OODoc. Slow access to a cell content with getCellValue
  • Download Code