1. Vedant Patel
  2. PowerBuilder
  3. Thursday, 18 May 2023 08:57 AM UTC
Hello There,

I have attached small sample application. In this application you can select the window from first toolbar icon.

Below are the steps that I have performed along with working memory statistics.
1. Start the application and it is taking around 59.8 MB of memory.
2. Open the window from 1st toolbar icon. It will open the window and working memory will be increased to 78.2 MB.
3. Close that window and observe the memory that application is taking. Even after closing the window it will use 
around 66.2 MB. This is sample application and even in small sample application it is not releasing around 7MB per window.
In our application the number is higher.

So do we have any option available that can free the resource as soon as we close the window.
As in our application we have more than 2k windows. So after user has spend sometime/ opened some window. It is
taking around 500MB of memory even if there's no open window or no ongoing operation.

FYI, our application is 32 bit application.

Thanks,
Attachments (1)
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 19 May 2023 17:57 PM UTC
  2. PowerBuilder
  3. # 1

Hi Vedant;

   If you have a simple PB App test like this - please open a Support Ticket for this problem and attach the example App.

   The GarbageCollect() command would be a PB App's normal way of requesting an immediate cleanup. If that does not seem to take effect as expected - then also please add that aspect to the Support ticket as well.  Many thanks in advance!

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.