473,623 Members | 2,453 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mac OSX PHP Fatal error: Allowed memory size of 8388608 ...by class.pdf.php

4 New Member
I am running XAMPP for Mac OS X 0.6.1 !
And since it did not have PDF libarires
I downloaded ezpdf from the url:http://sourceforge.net/project/showfiles.php?g roup_id=45168&p ackage_id=37830 &release_id=147 645
unzipped into a folder pdf_test
And tried to run from the local
http://localhost/pdf_test/readme.php

gets the error
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 76912 bytes) in /Applications/xampp/xamppfiles/htdocs//pdf_test/class.pdf.php on line 1240

Do I need to do any setup?
Or can any one suggest FREE PDF creation library which runs in Max OSX apache & preferably with PHP

Can anyone one help?

SPereira
Jun 30 '07 #1
3 3011
kovik
1,044 Recognized Expert Top Contributor
The problem is that a your server isn't allowed to use that much memory in one request. If the documentation for that app doesn't allow you to perform this operation in portions, you should look into the server configuration files for something to do with the allowed memory. Beware how much you allow it to have though.

Strange error though. That's usually only a result of infinite loops.
Jun 30 '07 #2
spereira
4 New Member
The problem is that a your server isn't allowed to use that much memory in one request. If the documentation for that app doesn't allow you to perform this operation in portions, you should look into the server configuration files for something to do with the allowed memory. Beware how much you allow it to have though.

Strange error though. That's usually only a result of infinite loops.
-----------------------
Thanks, have you used this class.pdf.php file?
or let me put it this way, do you know any good free php library which I can use with PHP?
Stellus
Jul 2 '07 #3
kovik
1,044 Recognized Expert Top Contributor
There's a good one on SourceForge, but that's as far as I know.
Jul 2 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
12353
by: Paul | last post by:
Hi, I'm using TikiWiki and was using its file upload feature, trying to upload a 2MB file. I get this error: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1677706 bytes) in /var/html/www/tiki/lib/filegals/filegallib.php on line 30 Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
2
4681
by: Phil Powell | last post by:
Actually the client is saying it sometimes happens and sometimes doesn't happen, and when they refresh their screen it clears itself (I assume the memory clears). Here is line 1135: $result = mysql_query($this->query, $this->dbcnx) or die(@include("$DOCUMENT_ROOT${devpath}errors/query_error.php")); It is found here in this class method:
0
711
by: Joe | last post by:
Hi, Now I am using Red Hat Linux 8.0 + squirrelmail as mail server. One day, I got the following warning: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) in /usr/share/squirrelmail/functions/imap_messages.php on line 325
2
4854
by: Gonzalo | last post by:
Just upgraded php (5.0.3) - compiled from source. I'm trying to upgrade & install some Pear packages but get the following error: $ pear upgrade pear downloading PEAR-1.3.5.tgz ... Starting to download PEAR-1.3.5.tgz (108,423 bytes) ..........................done: 108,423 bytes PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
3
6701
by: f.amann | last post by:
hi there! i save images in a mysql db and i wrote a script called getimage.php to display them. in my getimage.php i want to resize my images to display them as thumbnails but there always occurs the following error: <b>Fatal error</b>: Allowed memory size of 188743680 bytes exhausted (tried to allocate 240 bytes) in <b>.../public_html/getimage.php</b> on line <b>x</b><br />
1
2969
by: Kimmo Laine | last post by:
Hi! We've encountered a strange problem concerning memory usage. In the previous install the maximum memory amount per page was limited to 8 MB and it was never reached. Now, after upgrading both hardware and software, running the same scripts that used to be fine with 8 MB hit the roof all the time. The maximum memory allocation was set to 128 MB and still PHP encounters fatal errors with allowed memory size exhausted. Pardon my french,...
7
26618
by: Jim Carlock | last post by:
I'm filling a really large array. Is there a way to get by this error message without editing the php.ini? The array needs to get built once, then looped through to fill a data- base, and it will get alot bigger than 1.5MB, I'm going to guess maybe at least 100MB. <snip> PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 10 bytes) in...
1
2923
by: RYKLOU | last post by:
I am kinda new to php, but i do know what i am doing kinda, but i came across this error when i am trying to upload a file to my website. Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 3714000 bytes) in /opt/lampp/htdocs/tutorials/php-mysql-tutorial/admin/image-gallery/library/functions.php on line 104 Platform: Ubuntu 8.04 LST (where i make my programs, and test them before i upload them), Using XAMPP for...
1
3231
by: Tuyet | last post by:
I am on a web server: IIS 6, PHP 5.3 and MySQL. I received this fastcgi error: FastCGI Error The FastCGI Handler was unable to process the request. ________________________________________ Error Details: • The FastCGI process exceeded configured activity timeout • Error Number: 258 (0x80070102). • Error Description: The wait operation timed out.
0
8165
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8613
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8326
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8469
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7150
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5561
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4074
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4164
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1473
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.