[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: Re: Memory explodes loading CSV into hash
From:       Kee Hinckley <nazgul () somewhere ! com>
Date:       2002-04-28 19:33:45
[Download RAW message or body]

> 
> 
> At 17:18 28.04.2002, Ernest Lergon wrote:
> >Now I'm scared about the memory consumption:
> >
> >The CSV file has 14.000 records with 18 fields and a size of 2 MB
> >(approx. 150 Bytes per record).
> 
> Now a question I would like to ask: do you *need* to read the whole CSV 
> info into memory? There are ways to overcome this. For example, looking at 

When I have a csv to play with and it's not up to being transfered to a real
database I use the DBD CSV module which puts a nice sql wrapper around
it.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic