On 8/10/06, Philip Tellis philip.tellis@gmx.net wrote:
Sometime Today, NMK cobbled together some glyphs to say:
I have a perl hash that has 200 key-value pairs. Something like this:
001 one 002 two ........... 200 two_hundred
My script can read the pairs which are at the top without issues, but from pair 170 onwards, the script fails to read them. Is there any limit on the memory/number of elements in a hash? If I move pair number 171 right at the top, it works.
Strangely, the script works very well on Linux, but the problem occurs on AIX and HP-UX.
How much RAM do you have on each of these systems?
Thanks for the quick reply, Philip.
Linux : 256 MB AIX and HPUX : 2 GB
Perl versions: HPUX: This is perl, v5.8.0 built for IA64.ARCHREV_0-thread-multi AIX: This is perl, v5.8.2 built for aix-thread-multi. Linux: Its an RH9 box with default perl instalation.
Regards, NMK.