I know that the PDFWriter can't handle a lot of large images or it will run out of memory. I'm writing an app that requires a signature capture. It has two small weight logo images (16.3Kb, 66Kb) and we are calling the signature capture that saves the signature and then pastes it on the PDF (6Kb) document.
Doing this causes it to run out of memory randomly about 30% of the time. We had done some ftp gets prior to that for maybe a dozen records that we store in a map. If we don't run the signature capture then it does not break.
My question is has anyone found a way to help clear up any memory during this process to keep from running out of memory? Even if I comment out the logo images it still runs out of memory. Everything else works great but this is a show stopper. Any ideas would be greatly appreciated.
Thanks, Jim
Doing this causes it to run out of memory randomly about 30% of the time. We had done some ftp gets prior to that for maybe a dozen records that we store in a map. If we don't run the signature capture then it does not break.
My question is has anyone found a way to help clear up any memory during this process to keep from running out of memory? Even if I comment out the logo images it still runs out of memory. Everything else works great but this is a show stopper. Any ideas would be greatly appreciated.
Thanks, Jim