1. John Valentin
  2. PowerBuilder
  3. Friday, 15 March 2024 20:05 PM UTC

I found a bug in PowerBuilder (specifically filtering a large number of rows in a datawindowchild) that will eat up memory and eventually crash PowerBuilder. How do I report it? I have a sample app that shows how filtering increases memory usage by huge amounts!!!!

 

Open the app and open Task Manager.

Run the app. 

Find the app in Task Manager.

Start clicking on the buttons and watch memory increase.

 

Happens in Runtime 22.1.0.2819 and higher.

 

Does not happen in  22.0.0.1900

 

 

Attachments (1)
Rajkumar K S Accepted Answer Pending Moderation
  1. Sunday, 17 March 2024 05:15 AM UTC
  2. PowerBuilder
  3. # 1

Hi Chris,

We have migrated to PB R3 32 bit and getting this memory leakage issue while filter the dropdown child with around two hundred thousand records after the filteration. Please provide a solution to fix this issue.

 

Please find the same issue reported below 

 https://community.appeon.com/index.php/qna/q-a/not-enough-memory-to-execute-the-program

Regards

Rajkumar K S.

 

 

Comment
  1. Roland Smith
  2. Monday, 18 March 2024 13:50 PM UTC
If you have 200,000 rows in a drop-down AFTER applying your filter, the problem is obvious. You are retrieving too many rows.

Instead of a drop-down, have a button that opens a window where you type in partial name and click a Search button. They can then select the one they want from a list datawindow.
  1. Helpful 1
  1. Miguel Leeuwe
  2. Monday, 18 March 2024 15:33 PM UTC
Good advice Roland, but that doesn't fix the memory leak probably? (I haven't tested myself).
  1. Helpful
  1. Sivaprakash BKR
  2. Wednesday, 20 March 2024 06:57 AM UTC
Roland's workaround will work, IMO, as the issue is while filtering dropdown datawindow and not while filtering regular window.
  1. Helpful
There are no comments made yet.
Arnd Schmidt Accepted Answer Pending Moderation
  1. Saturday, 16 March 2024 01:29 AM UTC
  2. PowerBuilder
  3. # 2

John,

that is a real show stopper :-(

Extreme good finding!

By Clicking the "Perform ldwc Filter Reset" button, each time the memory increases by approx. 70 MB (using PB 2022 R2).

regards

Arnd

Comment
  1. Miguel Leeuwe
  2. Monday, 18 March 2024 11:43 AM UTC
Indeed it is, bugs like these prevent us from even thinking of migrating to 2022.
  1. Helpful 1
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 15 March 2024 20:17 PM UTC
  2. PowerBuilder
  3. # 3

Hi John;

  Please open a new Support Ticket for this here: https://www.appeon.com/standardsupport/search

  You will be able to attach your test case to the new ticket at the same time.  ;-)

Also if you have some time, you might want to check this issue using the latest PB 2022 R3 build 3289.

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.