Joomlatwork
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 19, 2013, 09:47:10 AM

Login with username, password and session length
Search:     Advanced search
15702 Posts in 5213 Topics by 10957 Members
Latest Member: mupemeniamy
* Home Help Search Login Register
+  Joomlatwork
|-+  Joomla PrettyPDF
| |-+  Support questions Joomla 1.0.x version
| | |-+  Allowed memory size exhausted
« previous next »
Pages: [1] Print
Author Topic: Allowed memory size exhausted  (Read 1857 times)
kabitak
Newbie
*
Posts: 2


View Profile
« on: December 01, 2007, 10:40:27 PM »

Hi!
While trying to generate a pdf from a web page I get the following error:

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 6802619 bytes) in [path]/administrator/components/com_jreprettypdf/jre_prettypdf.php on line 1310

When I add the line
ini_set("memory_limit","32M");
in jre_prettypdf.php I get

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 13601979 bytes) in [path]/administrator/components/com_jreprettypdf/jre_prettypdf.php on line 1310

What goes wrong?
I use PrettyPDF 1.6.10 on joomla 1.0.12.
Thanks!
Logged
John
Administrator
Sr. Member
*****
Posts: 421


JoomlAtWork team member


View Profile Email
« Reply #1 on: December 03, 2007, 08:45:30 PM »

Looks like an image on the page is mis-intepreted and reading the images loops until the memory is exhausted.

Can you pinpoint which image is causing the problem by removing an image at a time 'till it works?

John
Logged
kabitak
Newbie
*
Posts: 2


View Profile
« Reply #2 on: December 03, 2007, 10:23:52 PM »

Actually, I get the same result even when I use prettypdf for articles without images. I also tried to use different templates but the problem remained.
Logged
John
Administrator
Sr. Member
*****
Posts: 421


JoomlAtWork team member


View Profile Email
« Reply #3 on: December 05, 2007, 12:31:32 PM »

Can you point me to your site? Or supply me with some sample content that creates the error?

John
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!