Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Fatal error: Allowed memory size exhausted.
When i create a big article, let’s say an article which would make a Windows textfile.txt about 7KB, Textpattern can’t handle it?
This is what i get..
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 7998 bytes) in /home/lcidw/public_html/dev/txp/textpattern/lib/txplib_db.php on line 179
Then i tried two things..
1. Change the table fields which are TEXT to LONGTEXT, and reload the server (MySQL 3 server).
..which didn’t help, and..
2. Increase the 8M allowed memory in php.ini (php 4.3) to 16M, and restart the apache (version 1.3) server.
..after which the page just keeps white and nothing is beeing displayed.
Then again, shorting the article, makes the whole thing go again.. but it’s a little frustrating such articles can’t be posted?
What can it be, how can it be fixed?
—- Edit
Seems it just was a problem with <tt>
tags..
Last edited by lcidw (2004-11-10 04:03:23)
Offline
Re: Fatal error: Allowed memory size exhausted.
??. There’s several things that could be responsible, and you’ve hit on some of them.
You might have increased the memory allowed within php, but is there also a system cap on memory allowed to a given user?
Textpattern can handle pretty big files though just to let you now, the biggest tester article I put through would be about 50 pages when printed at 12 point font (about 400kb as plain text).
Offline
#3 2005-10-13 19:16:39
- mattw77
- New Member
- Registered: 2005-10-05
- Posts: 2
Re: Fatal error: Allowed memory size exhausted.
I’m actually having the same problem with the ‘Allowed memory size of xxxxxxx bytes exhausted (tried to allocate xxx bytes) error. Would you or someone mind posting what change was needed to correct this? I’m not currently having any luck.
Thanks!
Offline
Re: Fatal error: Allowed memory size exhausted.
Can you please post the exact error message you get, and also on which page you get the error (which url are you calling? what are you doing?).
Offline
#5 2005-10-19 13:38:59
- mattw77
- New Member
- Registered: 2005-10-05
- Posts: 2
Re: Fatal error: Allowed memory size exhausted.
Thanks for the response! The error occurs when trying to access the archives page from the link on the main page. I actually get one of three or four different errors when this happens. Here is one of the most frequent….
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 130 bytes) in /var/www/html/textpattern/publish/taghandlers.php on line 34
Offline
Re: Fatal error: Allowed memory size exhausted.
> when trying to access the archives page
Are you using plugins for creating the archives? Or any other plugins (how many)? Do you still get the error when all plugins are turned off?
Can you post your diagnostic information and also post a complete tag trace of the home page (see sticky in this subforum to learn about tag-traces).
Offline
#7 2005-10-26 01:59:12
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Fatal error: Allowed memory size exhausted.
No followup = not enough for a bug report.
Alex
Offline