[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROGRAMMERING] perl problem. Out of memory



Martin Møller Pedersen <sslug@sslug> writes:

> open(INPUT,"<$input_file") or die "Can't open input file. $!";
> open(OUTPUT,">$output_file") or die "Can't open output file. $!";
>
> $/=undef;
> $input=<INPUT>;
>
> Det fejler med en "Out of memory!", selvom det køres som root.

Det er ikke specielt obskurt hvad den fejl betyder. Perl kalder
malloc() som returnerer 0. Hvis du mener at du har adgang til mere
hukommelse, så må du lige overbevise dit styresystem om at give dig
adgang til det.

-- 
 Peter Makholm     |     Sit back and watch the messages. This is actually
 sslug@sslug |     more important than one might think as there is a
 http://hacking.dk |      bug in GNU Mach whereby hitting a key during the
                   |               boot process causes the kernel to panic
                   |                        -- GNU Hurd Installation Guide


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2006-01-01, 02:01 CET [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *