Printing and memory

I am still having problems printing forms that have JPEG images on them. I believe it is more of a problem when printing to the plug in. Memory used surges greatly during printing. This in itself is not acceptable as it causes memory overflow if documents are printed sequentially. I am not sure, but I also think that Servoy sometimes chokes when trying to allocate more memory when it needs to do so to print. Servoy has made great improvement in memory issues when diplaying JPEG images and I hope the same improvments can be made in printing them. I am not able to find a work around for this and it is the major road block that prevents me from deploying my application.

John McCann

2.1 Beta 2
Windows XP

I thought it might help to quantitate the magnitude of this problem. I ran a test where I loaded the most important 30 forms of my solution. All forms are loaded off of tab panels. This takes me about 35 seconds. THe processor was pegged for less than one second each time a form loaded. It is mostly limitted by how fast I can point and click.

I then printed a form 3 times that has a large JPEG image on it. In Beta 3 I do not see the surge in memory use I saw in Beta 2. The memory use parameter before and after printing were 70/107/512 = used/allocated/allocatable.

However, after printing I tried to load the 30 forms and it takes >30 minutes! Servoy is pegging the processor for > 1 minute as it loads each form. Clearly the printing of JPEG images throws some sort of bug into Servoy that persist long after the printing is done. I hope this helps in solving the problem.

Thanks

John McCann

Servoy Developer
Version R2 2.1beta3-build 301
Java version 1.4.2_04-b05 (Windows XP)
Windows XP MSSQL Server backend

do you have a test version live on the internet where we can connect to?
Or youre solution with some sample data that demonstrates this printing problem?