Discussions tagged Memory

Since migrating from PowerBuilder 2019 R2 to 2022 R3, we've had an influx of user complaints where they get "JPEG Processing Error: Insufficient Memory (case 4)" popups and windows error logs stating that faults occurred in VCRUNTIME140.dll and ucrtb...
Hello everyone,   I am looking for a tool called cdmatch (by Brian Dick I believe). Looked for it on the internet but can't find it anywhere. Could anyone share it with me please (ofc only if it is allowed to share it) ? Does the tool run on appe...
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 ta...
Hello, It is said that a process running in 32 bit Windows can consume up to 2 GB of memory. In my experience, a PB application crashes when it is approaches 1 GB. For example, the following script fails with a runtime error "Not enough memory to ex...
UPDATE:  We resolved this by doing away with the third party image object and began using PowerBuilder's web object..  Thank you all.   Hello PB Community! Since migrating from PB2017 to PB2021 we've begun experiencing what seems to be an issue wi...
Need: To implement a method in a Powerbuilder web service to save a file in a network directory receiving the file (blob) and the full path as parameters. IssuesScenario 1: Method implemented with Powerbuilder file functions.Problem: It works when u...
I'm seeing some weird behaviour where I suddenly get null object references on instance variables in an object. When I see it in the debugger, all instance variables have disappeared. One example is I detect a problem, put up a messagebox (at which ...
Hi,   we're concerned with the memory usage our our latest powerbuilder application. It was originally build with PB17R3 and is now running with PB19R2. It has been migrated to PB19R3 for memory testing purpose but the results are the same. the ...
 Hi, I have a desktop application developed in PB 2017 R3. It is connecting to the database (Sybase ASE 12.5) using the global transaction object SQLCA. To connect to the db, we are setting the trans object as: SQLCA.Database = "MyDB"SQLCA.Servernam...
We have upgraded from version 2017 R3 build 1858 to 2019 build 2082, Cloud Edition 32 bit A. After deployment, some clients complain about application performance gradually degrading over time, to the point that even dialog windows refreshes painfu...
Hello everyone, I am currently in the process of hunting memory leaks in one special functionality of our 32-bit product. Unfortunately it is a very complex and long running process. Doing some research on the internet, I found an old tool CDMatch ...
How much memory is used by each of the following standard data types? Date Time Datetime Real Double Decimal  ...
What are the most common things in PowerScript that consume memory without releasing it? I'm trying to troubleshoot a window that is consuming memory at a level we were not expecting, and I'm honestly running out of ideas of what to even look for. I...
I connect to a dll / ocx in PowerBuilder using ConnectToNewObject. That dll is held and locked until I exit from the PowerBuilder IDE (all versions). Is there anything I can do to unload the dll either in code, or when the application is closed but t...
Has anyone heard of any issues with the built in Run function? It appears that if you run a PB app from another PB app that the second one will abort if the memory usage gets to a certain point. The second app works fine when run directly. ...
Hi all,   The code below is eating up memory. (This example is eating 50 MB in 3 minutes) GarbageGollect() does not work   The only 2 solutions are: 1. destroy and create datastore 2. MyDataStore.DataObject = "some dw"     and th...
  • Page :
  • 1