Re: Out of memory error with shared memory functions.
| From: | Sebastian Bergmann | Date: | Thu, 12 Oct 2000 07:55:52 +0000 |
| Subject: | Re: Out of memory error with shared memory functions. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-19774@lists.php.net to get a copy of this message | ||
Tobias Wolff wrote:
> I've finally managed to use the shared memory functions (shm_attach, etc.),
> but it seems that there is a memory limit somewhere at 65K. Is there a place
> where I can resize this limit, i.e. is there a parameter to php or the
> system to let me store more than 65K? Another solution would be to the data
> into more than one memory block. Any comments?
In the manual it says:
"Table 1. Limits of Shared Memory by the Unix OS
SHMMAX | max size of shared memory, normally 131072 bytes"
HTH,
Sebastian
--
<?php $a=explode(" " ,"119 130 128 129 45 110 123 124 129 117 114 127 45 ".
"125 117 125 45 117 110 112 120 114 127");for($i=0;$i<sizeof($a);$i++)print
chr($a[$i]-13); // http://sb.phpOpenTracker.de | mail:
sbergmann@php.net ?>