-
Guido Hinrichs
- PowerBuilder
- Thursday, 6 March 2025 05:02 PM UTC
I'm using PB2022 R3. The application I built works smoothly with one strange exception:
When I click on a datawindow in a sheet within a mdi frame, the application hangs for 20 seconds up to two minutes showing "not responding". After this period the application wakes up and behaves normally again.
This behaviour is only experienced, when the app is startet on a Virtual Machine (Citrix infrastructure).
When run on a physical machine everything's fine!
Operation system is Windows 10, DBMS is Oracle.
I tried to get some more information by including protocol writing and db tracing. This is what I found out:
- The first event that is triggered (as far as i could determine), is the clicked event of the datawindow. That much is no surprise. I put protocol writing to the first line there. There's no ancestor code. This first protocol entry is written 20 seconds plus after the original mouseclick.
- After the event is finally triggered, processing terminates correctly in less than one second.
- Other than protocol writing there's no database activity involved. I've confirmed that.
- Immediatly after the mouseclick the application starts using increasingly CPU capacity until the maximum for a single thread app is reached. This level is kept until the code in the clicked event is finally executed. After that, memory usage is normal again
- It makes no difference whether the PB runtime is provided on the network or locally within the VM
- Network sniffing showed no abnormal activity
Any idea, what could be the cause for the problem? Did anyone experience a similar behaviour?
Any help would be greatly appreciated!
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.