Michael, I´m not attempting to read in the entire file In an older version of my AIX O.S. this message "Out Of Memory" wasn´t ocurring, with the same machine, with the same program
It happens when: open (FILE, file.txt); while (<FILE>) { ######### # CALCS # ######### $hash {$key} = $value; }; close FILE; Thanks for your attention! ATT Eduardo Mattos Ramos Murad Telemar - TI - Data Warehouse * 031 (21) 3131-9120 * [EMAIL PROTECTED] -----Mensagem original----- De: Michael G Schwern via RT [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 8 de julho de 2005 07:37 Para: Eduardo Mattos Ramos Murad Assunto: [perl #27764] Out Of Memory Problem [EMAIL PROTECTED] - Fri Mar 19 05:13:55 2004]: > Everytime I try to work with Large Files I get the message Out Of Memory, is > there anyway to configure > Perl in my server Unix Aix ver 5.2 not to give this messages anymore? Are you, perhaps, attempting to read in the entire file into memory at once? Something like: my @lines = <LARGE_FILE>; would likely consume all memory. You should read one line at a time. while(my $line = <LARGE_FILE>) { ... } Esta mensagem, incluindo seus anexos, pode conter informações privilegiadas e/ou de caráter confidencial, não podendo ser retransmitida sem autorização do remetente. Se você não é o destinatário ou pessoa autorizada a recebê-la, informamos que o seu uso, divulgação, cópia ou arquivamento são proibidos. Portanto, se você recebeu esta mensagem por engano, por favor, nos informe respondendo imediatamente a este e-mail e em seguida apague-a.