summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-03-12 05:51:21 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-03-12 05:51:21 +0000
commit19a52907e13f6800a48e122c0a5243f2d3f3c035 (patch)
tree63011a5de1ded4a65e0f8fd11f2b745734df24c8
parentb475b3e6a1638a2b29a69388e329b434337632a8 (diff)
downloadperl-19a52907e13f6800a48e122c0a5243f2d3f3c035.tar.gz
Tell how to possibly dodge 'Out of memory' errors.
p4raw-id: //depot/perl@18943
-rw-r--r--pod/perldiag.pod6
1 files changed, 6 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index cb314e976d..daa083716a 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -2584,6 +2584,12 @@ in the current lexical scope.
remaining memory (or virtual memory) to satisfy the request. Perl has
no option but to exit immediately.
+At least in Unix you may be able to get past this by increasing your
+process datasize limits: in csh/tcsh use C<limit> and
+C<limit datasize n> (where C<n> is the number of kilobytes) to check
+the current limits and change them, and in ksh/bash/zsh use C<ulimit -a>
+and C<ulimit -d n>, respectively.
+
=item Out of memory during "large" request for %s
(F) The malloc() function returned 0, indicating there was insufficient