cancel
Showing results for 
Search instead for 
Did you mean: 

Report with a lot of images causes full memory error and hyperlinks error

0 Kudos
198

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

Former Member
0 Kudos

Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with: https://community.sap.com/resources/questions-and-answers, as it provides tips for preparing questions that draw responses from our members.

For example, you can:

- outline what steps you took to find answers (and why they weren't helpful)

- share screenshots of what you've seen/done

- make sure you've applied the appropriate tags

- use a more descriptive subject line

The more details you provide, the more likely it is that members will be able to respond. Feel free to also take our Q&A tutorial at: https://developers.sap.com/tutorials/community-qa.html

Should you wish, you can revise your question by selecting Actions, then Edit.

By adding a picture to your profile you encourage readers to respond: https://developers.sap.com/tutorials/community-profile.html

Accepted Solutions (0)

Answers (4)

Answers (4)

ido_millet
Active Contributor

Excellent. Thanks for closing the loop.

DellSC
Active Contributor

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

ido_millet
Active Contributor

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.

0 Kudos

Is there a tutorial for this?

Thank you very much!

0 Kudos

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!