Hi group,
I have an annoying "Out of memory" problem I cannot solve.
Here is the error:
Fatal error: Out of memory (allocated 2028994560) (tried to allocate 35
bytes) in C:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\wav_edit\WavForgeErwin .php on line 95
The PHP file in question DOES need a lot of memory for soundeditting.
My problem is I cannot seem to increase the memorylimit.
I setted in php.ini:
memory_limit = 8000000000
and
memory_limit = 8G
and
memory_limit = 4G
(And restarted Apache)
But all fail around the 2G mentioned above.
I tried php-cgi too:
C:\php>php-cgi.exe -c C:\php -f "C:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\wav_edit\index.php"
But that gave excactly the same error.
I am running:
PHP5.2.6
Apache 2.2
XP prof (SP3) with 4G mem (3.2G adressable)
In Apache conf I have:
# For PHP 5 do something like this:
LoadModule php5_module "c:/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "C:/php"
As far as I can see PHP in Apache cannot adres more than 2G.
I COULD approach my current problem in another way (cut the file in
little pieces), but that will be a lot of work, since I also have to
change a lot of cuepoints from other sources.
So I hope somebody can help me increasing the memorylimit.
Thanks for your time.
Regards,
Erwin Moller
--
============================
Erwin Moller
Now dropping all postings from googlegroups.
Why?
http://improve-usenet.org/
============================