OL Learn

image display problems

I am using an xml data mapper which contains the file name of and displaying tif images as a background. I am using a dynamic image to display the tif images, trying to display one per page. When I make the image full size for the page, it overflows onto the next page, even though it is right at the margin. Then when I create the PDF, I get a red hash that covers the whole image and the next page. I tried to reduce the size slightly less so it fits on one page, but then I get this error in the pdf create output plugin:

W3001 : Error while executing plugin: HTTP/1.1 500 Internal Server Error LoggedApplicationException: There was an error running the output creation process caused by ApplicationException: Communication error (OUT000019)
Buffer underflow.
Create Output: W1603 : Plugin failed - 08:13:18 (elapsed time: 00:01:20:525)

I am pulling my hair out trying to figure this out, does anyone know what I am doing wrong??

You could start by consulting the Weaver engine log located here:


If using lots of different images, it’s highly likely that the engine is failing due to low memory (Buffer underflow). Therefore, can you try increasing memory on the Weaver engine:

Open the the following ini file: C:\Program Files\Objectif Lune\OL Connect\weaverengine\Weaverengine.ini in Notepad++

Change default maximum memory from 640m to 2g or 2048m by editing the following line: -Xmx640m to -Xmx2048m (or -Xmx2g).

You may try other values as well.

Save the changes and close the file.

Then restart the OLConnect_MySQL and OLConnect_Server services from Control Panel > Adminstrative Tools > Services

I tried different values, and it still seemed to be malfunctioning. I found out that it was actually because I was creating an xml file using the folder listing plugin, and sending it to a folder each run. Strange as it seemed, the template was using a differently named xml file (with the exact same format, just a different name), causing the underflow error.

One thing unsolved though, is why, when i make the image up to the margins, does it overflow on the next page, but I am just going to make it slightly smaller than the margins for now.

I appreciate you taking the time to help, thank you.

Is the image placed inside a container such as a ? Please note that the container may also have padding and margin which may increase the overall css height and width attributes values of the container object.

Please check below for the CSS Box model and how it might affect the size of the container: