1. Riccardo Pasqualetti
  2. PowerBuilder
  3. Monday, 13 February 2023 15:35 PM UTC

Situation: WebBrowser control to visualize a treeview structure, Powerbuilder 2019 R3 build 2670

I'm using Bootstrap Treeview 4.0 and anytime I visualize a new structure, memory occupation of pbcefclient.exe grow until proces crash (270MB). Sometimes pbcefclient.exe don't crash but Powerbuilder freeze.

There is any method to release memory?

If I use Powerbuilder 2022 build 1892 memory grow but the proces don't crash. Anyway, if memory grow too much, will crash also in PB 2022, I suppose

 

Thanks

 

 

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Monday, 13 February 2023 23:27 PM UTC
  2. PowerBuilder
  3. # 1

Seems there is problem with the JS code of the third-party TreeView control you are using the memory should not keep growing. Since you are having same problem on PB 2022 that is newer version of Chromium Web browser engine so I don't think it is bug of the Webbrowser control.

Comment
  1. Armeen Mazda @Appeon
  2. Thursday, 16 February 2023 15:17 PM UTC
It doesn't seem to me the problem is the TreeView control. Take a look at link Riccardo provided that CEF may have memory leak with ExecuteScriptAsync function there is simple example has nothing to do with TreeView. I think Appeon engineering team should take a look at this to see if updated version of WebBrowser engine will resolve this and make sure the problem is not in the PB layer.
  1. Helpful 1
  1. Riccardo Pasqualetti
  2. Wednesday, 15 March 2023 15:22 PM UTC
Hi everyone,

problem is resolved with PowerBuilder 2019 R3 hotfix, build 2792



Thanks
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Wednesday, 15 March 2023 16:17 PM UTC
Glad to hear it is resolved, and thanks for sharing the solution!
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 13 February 2023 16:35 PM UTC
  2. PowerBuilder
  3. # 2

Hi Ricardo;

  Why are you using a 3rd party control (where you have no control over O/S resources ) vs using either PB's built-in Treeview Control or PB's Treeview DataWindow?

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.