RAM Problem ?



saten said:
Hello all
My script is generating multiple PDFs in Program based on the user available but if there are more user then processing of program takes a lot of time some time get hunged the computer what i need is that when users are more then RAM should not get involeved in this case that is it should be free after generating one PDF. if any one have any other alternative then pls give your suggestion so that multiple generation of PDFs can be made easily.
How you generate PDFs? What exacly you use?
saten said:
I am using the support of fpdf library for generating PDF.
From http://www.fpdf.org/
"What's the limit of the file sizes I can generate with FPDF?

There is no particular limit. There are some constraints however:

- The maximum memory size allocated to PHP scripts defaults to 8MB. For very big documents, especially with images, this limit may be reached (the file being built into memory). The parameter is configured in the php.ini file.

- The maximum execution time allocated defaults to 30 seconds. This limit can of course be easily reached. It is configured in php.ini and may be altered dynamically with set_time_limit().

- Browsers generally have a 5 minute time-out. If you send the PDF directly to the browser and reach the limit, it will be lost. It is therefore advised for very big documents to generate them in a file, and to send some data to the browser from time to time (for instance page 1, page 2... with flush() to force the output). When the document is finished, you can send a redirection on it with JavaScript or create a link.
Remark: even when the browser goes in time-out, the script may continue to run on the server."

I'm think what it's not user problem.....
Can you upload somewere your script. I want to see what I'm get and try give some solution.