1. Eduardo G.
  2. PowerBuilder
  3. Friday, 21 June 2024 12:09 PM UTC

Good morning to all,

On a machine with Windows Server 2012 R2 I have the same process that happens the following:

Compiled and with its PB 2022 Build 1892 runtime packager, it takes: 18 minutes.

Compiled and with its runtime packager of PB 2022 R3 Build 3356, takes: 52 minutes

Has anyone had this same situation?
Is there anything I need to consider?

Please I am looking for your help or ideas.

Thank you.

Eduardo G. Accepted Answer Pending Moderation
  1. Tuesday, 25 June 2024 14:42 PM UTC
  2. PowerBuilder
  3. # 1

Has anyone had this problem with over 100,000 accesses to an Oracle msg file?

Comment
  1. Ken Guo @Appeon
  2. Friday, 12 July 2024 01:57 AM UTC
Hi Eduardo,

Can you tell me which tool you use to count access times?
Did you use any remote access to run your application, such as Citrix or mstsc, etc? If you run the application directly on Windows 10/11 without using any remote access, will it work normally?

Regards,
Ken
  1. Helpful
  1. Eduardo G.
  2. Tuesday, 30 July 2024 12:37 PM UTC
It is a Microsoft tool

Process Monitor v4.01

https://learn.microsoft.com/es-es/sysinternals/



I have only used it on Windows, the test computer.

  1. Helpful
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Tuesday, 25 June 2024 13:57 PM UTC
  2. PowerBuilder
  3. # 2

Hi, Eduardo - 

What I'm going to suggest may or may not be feasible for your situation, but I will throw it out there for you to consider...

I think it would be useful to have some baseline data that contains some finer granularity that simply the overall completion time. Can you add timing/recording functionality to this process that collects data at several key and/or critical points? I would then compile/run with the Build 1892 runtime environment to collect this baseline dataset and verify that the overall completion time is similar to that observed before (roughly 18 minutes, I believe).

Once that data is collected, compile/run with the Build 3356 runtime environment and compare the datasets.

If you see, say, one part of the overall process that is performing abysmally but you still cannot determine possible causes, then perhaps you can include additional, finer data collection points in that portion of the process, then repeat.

This approach is how I would attack this issue if I were in your situation.

The GlobalMemoryStatus or GlobalMemoryStatusEx Windows API functions may be helpful. I can supply you with the PB structure(s) and external function declarations to interface with these API's, if desired.

Best regards, John

Comment
  1. Eduardo G.
  2. Wednesday, 26 June 2024 12:30 PM UTC
Thanks for your suggestion, it is a good approach, I will keep it in mind.
  1. Helpful
There are no comments made yet.
René Ullrich Accepted Answer Pending Moderation
  1. Monday, 24 June 2024 09:25 AM UTC
  2. PowerBuilder
  3. # 3

Hi Eduardo,

what you could do:

HTH,

René

 

Comment
There are no comments made yet.
Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Monday, 24 June 2024 06:45 AM UTC
  2. PowerBuilder
  3. # 4

Hi Eduardo,

 

Can you elaborate on how you compiled it? using ORCA or PBAutoBuild?

I suggest you submit a bug in the support system.

 

 

Regards,

Ken

Comment
  1. Ken Guo @Appeon
  2. Monday, 24 June 2024 08:13 AM UTC
Did you use PB IDE to compile? Please note that PB IDE doesn’t support to be installed on Windows Server OS.



  1. Helpful
  1. Eduardo G.
  2. Monday, 24 June 2024 08:29 AM UTC
I develop in Windows 11, I make the compilation that generates the .EXE and the .PBD extension files, then they are copied manually to the computer folder with Windows Server. It has always been done this way, if there is something that changes or improves I would like to know. Thank you.
  1. Helpful
  1. Ken Guo @Appeon
  2. Monday, 24 June 2024 08:35 AM UTC
Please report a bug at https://www.appeon.com/standardsupport/newbug and include a replicable test case so we can further analyze this issue.
  1. Helpful
There are no comments made yet.
mike S Accepted Answer Pending Moderation
  1. Friday, 21 June 2024 14:04 PM UTC
  2. PowerBuilder
  3. # 5

did you try setting antivirus exclusions on the directory where the exe is? 

Comment
  1. Eduardo G.
  2. Friday, 21 June 2024 14:45 PM UTC
It does not affect the antivirus, I understand that the antivirus blocks or may slow down during the first execution, but we are talking about a process that runs 3 times a day every day and its only difference is the version of PB that has been used for its compilation.
  1. Helpful
  1. mike S
  2. Tuesday, 25 June 2024 13:23 PM UTC
well, if it were me, i would try it with the exclusion to see if it made any difference.

  1. Helpful
There are no comments made yet.
Andreas Mykonios Accepted Answer Pending Moderation
  1. Friday, 21 June 2024 12:52 PM UTC
  2. PowerBuilder
  3. # 6

Hi.

Not sure if this is related, but I would start by checking if it's related to accessibility settings. If disabled, in PB 2022 R3 there is a change that may affect your application performance. Take a look at Accessibility improvements - - What's New (appeon.com).

Basically in PB 2022 R3 you need to move those settings to pb.ini application section:

[Application]
accessibility=0

Andreas.

Comment
  1. Chris Pollach @Appeon
  2. Friday, 21 June 2024 15:37 PM UTC
Yes, I do not use these settings any more in PB 2022 R3 as their defaults as now OFF.

You only need the custom PB.ini if you want them ON. ;-)
  1. Helpful 1
  1. Eduardo G.
  2. Monday, 24 June 2024 06:22 AM UTC
Does anyone have any other suggestions?
  1. Helpful
  1. Eduardo G.
  2. Tuesday, 25 June 2024 12:53 PM UTC
[Application] accessibility=0

I tested it and as indicated, it has not had any positive effect on speed
  1. Helpful
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.