Stuart, et al --

...and then Stuart said...
% 
% David T-G wrote:
% >2) Five minutes with a test script would tell you, and I bet google could
...
% >all) it breaks.  My bet is that you'l exhaust RAM and swap before you
% >break php, especially if you actually store something -- like, say, 32
% >bytes of useless string output -- in each entry.
% 
% Indeed. The following script had my machine happily swapping like crazy 
% at 320,000 array items (each being 1k, task manager showed 640meg total 
% memory in use on this development machine with 512meg RAM running WinXP).
[snip]

*grin*

We can figure, then, that if you cut down to 32b you'll probably get to
about a million entries, which is a nice, BIG, round[ish] number.  You
ought to give it a go.

My laptop and my dev server are in the middle of a 12G transfer, and my
production servers are, well, production, so I can't try this now, but if
there's interest I'll give it a go later.  My dev box (LFS Linux) only
has 384M RAM, though, so it won't be anything awesome.  A buddy of mine
hosts on a 2G [quad Xeon -- yum!] box with another 2G of swap, but he'd
kill me if I took down his business!

Anyone (perhaps at some company with deeper pockets than mine) have a
hefty dev server that could risk a crash in the name of playing "mine's
bigger"? :-)


HAND

:-D
-- 
David T-G                      * There is too much animal courage in 
(play) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to