|
Posted by Jasen Betts on 02/12/06 02:18
On 2006-02-11, MrBiggles <mrbiggles909@yahoo.com> wrote:
> I read in a csv file with 60000 lines (20 fields per record), and store
> the data to a local array. The file is read in and stored just fine and
> pretty quick.
> Now, if I try to assign that array to a session variable it chokes.
> e.g. create array and load each element with a row from the file (btw,
> each row is an array as well, using fgetcsv()). When local array is
> loaded, I assign to session var as so:
> $_SESSION['mydata'] = localArray;
Here I'm limited to something like 3.2K much more than that and the session
data is lost.
> What happens is the server will sit there and churn for a long time. CPU
> goes to 99% use and memory use explodes on the apache thread. It will
> keep churning a looong time, so long that I had to stop the server to
> make it quit. This happens on my windows server as well as fedoracore4
> server.
maybe you need more ram.
Bye.
Jasen
[Back to original message]
|