Tips and Tricks HQ Support Portal › Forums › WP PDF Stamper › Memory issue with higher number of stamped/secured pdfs?
- This topic has 5 replies, 2 voices, and was last updated 10 years, 8 months ago by admin.
July 24, 2012 at 6:08 pm #6979
I’ve been running some test transactions, and there seems to be a limit to the aggregate file size of multiple pdfs that can be stamped and secured for any individual transaction. For instance, one product has upwards of 60 pdfs (around 0.3 Mb each), and the stamper only gets through about a tenth of the files before stopping. Is there any way to break down the stamping into multiple, smaller php processes in order to get around what appears to be a memory ceiling? I’m on shared hosting; the minimum requirement plugin showed 256Mb of memory which I also confirmed via other methods. I am not using the instant redirect to give the plugin time to stamp all the relevant files, but it doesn’t seem to be a time deficit issue.July 25, 2012 at 4:55 am #47728
This is entirely upto the capability of your server. The more PDF files you need to stamp at the same time, the more CPU power and Memory is required. The PDF Stamper will keep stamping until your server stops it. I personally do not think that a shared hosting will be able to handle the stamping of 60 PDF files in one go with encryption feature enabled.July 25, 2012 at 6:30 am #47729
Bummer. I’ve built an entire site around these plugins, but would like to maintain the current hosting if possible. Would it be possible to modify the plugin to stamp the files as they are accessed by customers as opposed to when the transactions are processed? That way, it would force the program to stamp files on a one-by-one basis. If this could be done, I would definitely consider hiring you guys to do it, as everything else with the site is ready to go. Please let me know.July 25, 2012 at 11:01 pm #47730
Before we go down that path I would like you to try one thing.
Please make the following settings changes in the PDF Stamper:
1) Select “Stamping Method 2” for the PDF Stamping Method field.
2) Uncheck the “Enable PDF File Encryption” option
3) Save the settings
Now, try it out and let me know how that goes.July 25, 2012 at 11:47 pm #47731
Here are the results. I disabled the encryption option and ran transactions using both the default method and method 2. Using the default method, the stamper was able to get through about three times the files as it did with the secured pdf option checked. Using method 2, it didn’t get through as many of the files as it did with the default method. The problem is, I need to secure the pdf content, and it’s still a long way from processing a high number of files, which will be required, especially for large purchases and purchases of multi-file products.
Please let me know what the next step is. Thanks.July 27, 2012 at 4:00 am #47732
Okay, in that case it will require a custom job. I can’t guarantee that your shared hosting will be able to handle it but I can take a look at that if you have budget for it. Please fill in our contact form to get in touch so we can discuss it further.
- You must be logged in to reply to this topic.