on 2022 Sep 16 6:40 PM
Hi to everyone,
I'm trying to create a software that must print a report with 12 small images per page. Every picture has a physical path. After a few pages, the "full memory" messagge error appears and I don't know what to do.
All images are small (1 MB max) and OLE Object converted into Picture (Devide Independent Bitmap) and I can't uncheck the "retain original image color depth" option.
How can I handle this problem?
Each image has a hyperlink to a website.Tthe software generates the pdf with that hyperlink perfectly in my pc but not in others pc. Can anyone help me?
Thank you very much
Excellent. Thanks for closing the loop.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In addition to Ido's comments, be aware that Crystal can be very memory intensive and it creates it's own swap files instead of using the standard Windows memory swap. I would compare the amount of RAM on your development computer with the amount on the PCs where it is failing as well as looking at how much empty space is available on the C drives.
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is possible the memory issue is due to resizing the images to fit their assigned size in Crystal.
The resize requirement can cause Crystal to consume a lot more memory.
To solve this, one solution is to use a UFL to on-the-fly resize the image to the desired dimension on the report layout and load the resized images, removing the need for Crystal to handle the resizing.
At least one of the 3rd-party UFLs listed on Ken Hamady's website provides that functionality.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I solved in another way:
First of all I created blank images with all the sizes I need and then I placed them into the report.
My software resizes all the images in a temporary folder and Crystal Report uses them.
At this point, Crystal Report will not resize any images and the memory will not increase.
I tried the UFL solution but I didn't find a tutorial or something helpful for me (I'm not an expert).
Thanks to everyone!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.