Window is slow to open – PB Docs 2022

Window is slow to open

Under some circumstances, for example, a large application that
contains lots of PBLs and the window uses user-defined images, the
window may be slow to open in the application (deployed via
PowerClient or PowerServer).

Cause:

The application will first search through all PBD files and then
the application directory to find the user-defined images. In the
PowerClient/PowerServer deployment, all PBD files are broken down very
granularly into each individual object/definition file. When the
application searches through a PBD folder, it first opens the
_indexes.idx and _files.idx files in the PBD folder and then searches
through all individual objects/definition files according to the
_files.idx file. If there are many PBD folders, the elapsed time will
be much longer.

Solution:

Use a PowerBuilder resource file (PBR) to list the user-defined
images. When the PBR file is deployed with the application, the
application can find the image very quickly through the PBR
file.

troubleshooting_13.png


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x