Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by pvaldes (Chaplain)
on Jun 02, 2016 at 11:24 UTC ( #1164752=note: print w/replies, xml ) Need Help??


in reply to Re^2: OpenOffice::OODoc. Slow access to a cell content with getCellValue
in thread OpenOffice::OODoc. Slow access to a cell content with getCellValue

Update: It seems that there was problem with the memory when I run your script, Poj. This problem could or could not be related with the perl job.

I'm running again the script with the -d option. When It hits the line

 my $table = $doc->getTable($sheetno,'normalize');

The perl script uses the 99-100% of CPU and the 10% of memory. After some minutes the memory consume raises to 81-83% until finally the computer frozens and the process is automatically killed without finishing the job. This takes 6-11 min and explains why outfile.txt is empty. It seems that my spreadsheet file is a hard nut to open. I wonder why.

  • Comment on Re^3: OpenOffice::OODoc. Slow access to a cell content with getCellValue
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1164752]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2019-10-15 05:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?