Canman2005 Posted February 25, 2009 Share Posted February 25, 2009 Hi all I have a very simple QUERY which gets a list of products, the list is very long though, about 500 products. I'm trying to convert it to a PDF file and have tried tons of free PDF converters, my porblem is that when I try and convert this products list I keep getting Fatal error: Allowed memory size What can I do to try and fix this and also what is a safe MB limit to use? Quote Link to comment Share on other sites More sharing options...
sastro Posted February 25, 2009 Share Posted February 25, 2009 If you have enough memory, put this on the top of the script : ini_set('memory_limit','1000M'); or save it to html with print format and convert to pdf using http://www.phpclasses.org/browse/package/3168.html Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.