Out of Memory Error - Cannot save

Discuss issues and ideas you have to configuring displays with PowerVision
mbowdich
Posts: 209
Joined: Tue Oct 05, 2010 10:54 am

Out of Memory Error - Cannot save

Post by mbowdich » Tue Mar 08, 2011 11:41 am

Running PV Studio 2.2.10525 and Windows 7 Professional. When editing a configuration for long periods of time (including many saves, creates and loads), I eventially run out of system memory and recieve an out of memory error asking if I want to quit or continue. This typically happen when trying to save the configuration. Unfortunately, the configuration cannot be saved and all previous changes are lost.

I looked at the resources being used buy PV Studio, and the memory use was over 1.5 GB for it alone. An exit and restart of the program drops memory usage down to around 85 MB. I have noticed that each time I compile (create) the memory useage increases, but does not get released back to the system when the compile is complete. Each additional compile continues to increase the memory allocation.

The symptom of getting close on memory is that a compile (create) will start to take about 20 seconds at the 68% mark and around 30 seconds at the 80% mark (normally 1-5 seconds).

I did not see this issue with Version 2.1 patch 1.
jpurdum
Enovation Controls Development
Enovation Controls Development
Posts: 153
Joined: Mon Jun 21, 2010 11:19 am

Re: Out of Memory Error - Cannot save

Post by jpurdum » Fri Mar 11, 2011 5:30 am

Our first attempt to recreate this was unsuccessful. Will keep you posted.
drphil69
Posts: 139
Joined: Wed Mar 02, 2011 5:59 pm

Re: Out of Memory Error - Cannot save

Post by drphil69 » Sun Mar 13, 2011 6:15 pm

I check my memory usage and over the course of a few hours and several (4-6) full "creates" I noted that memory usage increased during compile then slowly reduced, but never back to where it started. Net result was a steady increase of RAM usage with each compile. Over this time it went from ~140M to 180M, so no memory issues.