memory overflow :/
| From: | Tontonq Tontonq | Date: | Fri, 05 Aug 2011 01:51:27 +0000 |
| Subject: | memory overflow :/ | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-314362@lists.php.net to get a copy of this message | ||
hi i can't see anything wrong that will cause memory problem
but parsing 1gb memory limit doesn't come enough for just parsing a 50 kb
file
but when i try to parse another file that is 24 kb 24 mb becomes enough
memory
here is the script
http://pastebin.com/H9mG7ucU
if you go to
rss.php?id=175069119656&titlebaslik=1
no problem
when you try to parse
rss.php?id=102741716484127&titlebaslik=1
Allowed memory size of 25165824 bytes exhausted (tried to allocate 90564532
bytes)
Just tried to increase with
ini_set('memory_limit','2048M');
still same error
Allowed memory size of -2147483648 bytes exhausted (tried to allocate
2137883596 bytes) in rss.php on line 24
any idea ?