Page 1 of 1

Fatal error: Allowed memory size of....

Posted: 30 Apr 2010, 17:11
by kataras
Hello there,

First of all thanks for the component it looks like what i just need (be able to save to pdf, while also have tables not chaoticly distorted :) unlike default joomla component). Anyway, as i was testing it out on my localhost test site, i installed component and plugin. Enabled plugin. Then comes the real deal, once i click on "To pdf" icon, it comes up with such error
"Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 6291456 bytes) in C:\xampplite\htdocs\joomla\administrator\components\com_phocapdf\assets\tcpdf\unicode_data.php on line 16485"
It looks like it does this for all my other test sites too, so i was wondering if this is a know issue and if so is there a fix for it? Since i could not really find any reported problems like this on the forum.

My info:
PHP Built on: Windows NT JS0115 5.1 build 2600
Database Version: 5.1.33-community
Database Collation: utf8_general_ci
PHP Version: 5.2.9
Web Server: Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9
Web Server to PHP interface: apache2handler
Joomla! Version: Joomla! 1.5.14 Stable [ Wojmamni Ama Naiki ] 30-July-2009 23:00 GMT
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
I am running xampplite with MySQL client version: 5.0.51a

If there is any more info you need just gimme a shout ;)
Thanks a bunch

Ron

PS. heres a few screenprints for general info
http://i10.photobucket.com/albums/a127/ ... _error.jpg
http://i10.photobucket.com/albums/a127/ ... ttings.jpg

Re: Fatal error: Allowed memory size of....

Posted: 01 May 2010, 23:13
by Gruz
Try different articles, also with text only. Try to hide images.

You have your memory limit set to 16Mb. I'm not quite sure,but it seems to me to be rather small. I'm sure, if you set it to 32Mb, it will work.

Re: Fatal error: Allowed memory size of....

Posted: 06 May 2010, 19:30
by kataras
Hey ya, thanks for the reply.

Any idea where i could change this memory setting to 32MB?

It looks like even if i try to PDF a blank article with no text it will still give me the same error :S

Any ideas?

Cheers
Ron

Re: Fatal error: Allowed memory size of....

Posted: 10 May 2010, 14:27
by Benno
Hi,
Any idea where i could change this memory setting to 32MB?
Normaly in your php.ini
Kind regards,
Benno

Re: Fatal error: Allowed memory size of....

Posted: 17 May 2010, 12:37
by kataras
Writing to confirm that increasing php memory size limit to 32M has solved the issue :twisted:

Thanks

Re: Fatal error: Allowed memory size of....

Posted: 17 May 2010, 13:28
by Jan
Ok