1. Richard Lynskey
  2. PowerBuilder
  3. Wednesday, 25 September 2024 14:43 PM UTC

Since migrating from PowerBuilder 2019 R2 to 2022 R3, we've had an influx of user complaints where they get "JPEG Processing Error: Insufficient Memory (case 4)" popups and windows error logs stating that faults occurred in VCRUNTIME140.dll and ucrtbase.dll if they have a datawindow with an image on screen and hover over it/move their mouse over it/scroll it for a long bit of time. It can also occur with two datawindows present and no movement. With Process Monitor running, we can see that the image is being re-read from disk with every movement of the mouse. I will note that if we do the same test against a PB 2019 app, it still does do the readfile call repeatedly, but the big difference is 2019 grabs the image from the network and puts it in temp then reads the file from there, while 2022 R3 reads from the network with every call. You can watch the memory spike with each ReadFile call, though it releases itself with 2019 but continues to build at least somewhat with 2022 R3, and despite this stating insufficient memory, the process appears to be nowhere near the 32-bit memory cap.

My questions are:
1. Why is it re-reading the image for every single mouse movement? Is this something we can mitigate?
2. Is the temp path portion a PowerBuilder change, or a VC Runtime issue?
3. Is this related to the memory leak for datawindow printing with an image that was fixed in PB 2019 R3 and again in 2022 R2?

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 25 September 2024 15:38 PM UTC
  2. PowerBuilder
  3. # 1

Hi Richard;

  The Community would be a difficult place to try & help you with this issue.  Suggestion:  I would recommend opening a Support Ticket for this problem so that the Appeon Support team can delve deeper into what might be going on with your App.  HTH

Regards .. Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.