Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^6: Reducing the memory usage of Spreadsheet::ParseExcel

by Neighbour (Friar)
on Jan 30, 2013 at 14:30 UTC ( #1016064=note: print w/ replies, xml ) Need Help??


in reply to Re^5: Reducing the memory usage of Spreadsheet::ParseExcel
in thread Reducing the memory usage of Spreadsheet::ParseExcel

Well, it is an improvement over Spreadsheet::ParseExcel.

Before creating new Spreadsheet::ParseExcel and parsing file: total used free shared buffers cac +hed Mem: 3011 345 2666 0 4 +185 -/+ buffers/cache: 154 2857 Swap: 956 182 774 Killed
(For those not familiar with *nix, when a machine runs out of memory, the kernel starts killing processes to free some. Usually, the first process to go is the one that claimed the most, like in this case my testprogram that tries to parse the xls-file).
From dmesg:
[10998050.203177] Out of memory: Kill process 32189 (testinterfaces.) +score 676 or sacrifice child [10998050.203180] Killed process 32189 (testinterfaces.) total-vm:2893 +916kB, anon-rss:1958024kB, file-rss:0kB


Comment on Re^6: Reducing the memory usage of Spreadsheet::ParseExcel
Select or Download Code
Re^7: Reducing the memory usage of Spreadsheet::ParseExcel
by Anonymous Monk on Jan 30, 2013 at 14:42 UTC

    Well, it is an improvement over Spreadsheet::ParseExcel

    But it uses Spreadsheet::ParseExcel, but it also uses Coro

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2014-09-18 00:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (101 votes), past polls