in reply to Variable stack size in Perl.
The simple answer is that the size of memory available to Perl (under NT/AS at least) is (roughly)
(memory size on the server you are running on) + (the size of the swapper defined)
- (amount of memory that is used by perl itself + memory used by other programs on the server)
However, if the size of the file is a concern (and if this is a hosted domain especially), then you should think about accessing it contents in smaller chunks rather than all at once. There are many ways you can do this, but deciding or advising which one is right for your application will depend on knowing a lot more about what you are doing, and how you are doing it.
You might take a look at the various Tie::* modules that come as a part of your standard distribution and/or the various flavours of DBI on CPAN.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Variable stack size in Perl.
by kindsnail (Initiate) on Nov 11, 2002 at 13:56 UTC | |
by BrowserUk (Patriarch) on Nov 11, 2002 at 14:10 UTC | |
|
Re: Re: Variable stack size in Perl.
by kindsnail (Initiate) on Nov 11, 2002 at 14:41 UTC |