in reply to Re: Variable stack size in Perl.
in thread Variable stack size in Perl.

I want really to thank you, UK, j'm remained surprised: you're been quick and complete. But j'd like to understand better this think: would it tell that if the server is busied by other weavy processes, could it succeed that the reading of even a small file could cause Perl to raise an "out of memory" error? Always, if you know, is there an amount of memory that is affordably available, guaranted by ActivePerl?

Replies are listed 'Best First'.
Re: Re: Re: Variable stack size in Perl.
by BrowserUk (Patriarch) on Nov 11, 2002 at 14:10 UTC

    Essentially, no. There is no minimum amount of memory guarenteed to be available to Perl.

    The restriction, if there is one, is the amount of memory available to the OS itself. If you are getting "out of memory" when trying to load a small file into memory, this is an OS configuration problem, not a problem with Perl itself.

    It means that either the server has too little memory installed for the use to which it is put. Or,

    Not enough room has been allocated to the swap space. Or,

    That the servers discs are so full that it cannot expand it swap space to accomodate even small growth. Check the free space on the drive(s) on which the swapper has space allocated.

    If either of these latter two is the cause, it is almost certain that the first is true as well or that the box has simply too much running on it.


    Nah! You're thinking of Simon Templar, originally played (on UKTV) by Roger Moore and later by Ian Ogilvy