in reply to Re^2: maximum size of hash
in thread maximum size of hash

I am reading records from an Excel file into a Perl hash. Many files and hashes are involved, but it appears that Perl runs out of space near the end of some hashes. If I limit the records, then it runs fine.

Does anyone know of a limit on Perl hashes, or Perl hashes when read from Excel spreadsheets? It seems to die around 670 and stop reading remaining records.

thanks

Replies are listed 'Best First'.
Re^4: maximum size of hash
by hippo (Archbishop) on Apr 21, 2023 at 08:22 UTC
    Does anyone know of a limit on Perl hashes

    The very first reply in this entire thread is correct. There is no limit other than the space your system might have to store it.

    when read from Excel spreadsheets? It seems to die around 670

    Save your spreadsheet as CSV and read from that instead. Might save a lot of trouble and would also help you prepare the SSCCE that would be required to dig further.


    🦛