Fatal error: Allowed memory size of....

Phoca PDF - creating PDF documents in Joomla! CMS
kataras
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Apr 2010, 16:51

Fatal error: Allowed memory size of....

Post 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
Gruz
Phoca Enthusiast
Phoca Enthusiast
Posts: 61
Joined: 26 Dec 2008, 19:09
Location: Ukraine
Contact:

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

Post 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.
Last edited by Gruz on 12 May 2016, 15:34, edited 1 time in total.
kataras
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Apr 2010, 16:51

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

Post 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9440
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

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

Post by Benno »

Hi,
Any idea where i could change this memory setting to 32MB?
Normaly in your php.ini
Kind regards,
Benno
kataras
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Apr 2010, 16:51

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

Post by kataras »

Writing to confirm that increasing php memory size limit to 32M has solved the issue :twisted:

Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply