Fatal error: Allowed memory size

Phoca PDF - creating PDF documents in Joomla! CMS
ptrouw
Phoca Member
Phoca Member
Posts: 19
Joined: 19 Aug 2010, 04:47

Fatal error: Allowed memory size

Post by ptrouw »

Hi, when there is more than 500kb pictures in the article the server is giving me a:
Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 65360 bytes) in administer/components/com_phocapdf/assets/tcpdf/tcpdf.php on line 6004
It is a shared server, I have no control on it. Printing pdf without pictures is no option. Any other things I could try to get it working?
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

Post by Jan »

Hi, I think no. :-( PDF creating needs some memory (but as I have tested it, it is not too much :idea: ) So you only can change the memory on the server (it this is possible), I think no other option can be e.g. optimized. :idea:

Jan
If you find Phoca extensions useful, please support the project
ptrouw
Phoca Member
Phoca Member
Posts: 19
Joined: 19 Aug 2010, 04:47

Re: Fatal error: Allowed memory size

Post by ptrouw »

Hi jan,

This is the reponse back from hosting company: Unfortunately we are unable to increase the memory limit for our php
configuration on our servers. This is set to 48M per hosting account.
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

Post by Jan »

Hi, no idea, I am running 16mb and 32mb testing servers without any problem :idea:

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