Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 contemplating the Monastery: (8)
As of 2014-10-21 08:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (98 votes), past polls