Out of Memory Error: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
 
(18 intermediate revisions by 6 users not shown)
Line 1: Line 1:
There is an intermittent "out of memory" error when adding new patients.  
no one provided further input on this bug when last requested, so setting to fixed.
{{Fixed bug}}


I have been able to replicate this error when I added about ~30 new patients without closing the program.  
There is a debug error talking about running out of memory. It seems to happen when a patient is opened from the patient list and closed again about 30 times. This has been a problem since ~Jul 2010


I replicated the error on my PC, so I really doubt it has anything to do with mains/battery power.  
The error is (at least in this instance):
Run-time error '2004':
There isn't enough memory to perform this operation. Close unneeded
programs and try the operation again.


Continue (grayed)    end    debug    help


===Prevalence: Who has had this error===
Clicking help just gives a gray screen.
Could anyone who has had this error please add their name to the list?
* Deb
* Pat
* Hazel
*Shirley
*Marie (at Grace: W3 laptop)
*Gail


=== Details ===
* Has anyone (who) had this error in situations other than adding a patient?


* I just had this error my laptop is really slow and I entered the wrong birth year and got this message plus I have been entering data for a couple of hours and also got run time error so I had to exit laptop and reenter. [[User: SKiesman | Shirley Kiesman]]
== Further troubleshooting ==
** Sorry, I suspect I am a little late with these questions. It sounds like you have several things going on at the same time, one of them being the ongoing problems with your laptop. Do you remember if the ''out of memory error'' really happened upon entering the wrong birth year, or at a different time? If it was with the wrong birth year then this would be a new error we'd have to look into. Has anyone else got that one? [[User:Ttenbergen|Ttenbergen]] 17:50, 30 December 2010 (CST)
=== When does the error happen? ===
I can replicate the error (i.e. make it happen consistently) by opening and closing patients about 30 times. The error has also happened when adding a new patient.
* Does anyone know of another '''replicable''' way of making this error happen consistently? Knowing how to trigger this might help me eliminate the error. [[User:Ttenbergen|Ttenbergen]] 10:01, 5 April 2011 (CDT)
**Sorry,no.--[[User:CMarks|CMarks]] 08:25, 11 April 2011 (CDT)
**Never seen this error--[[User:Dbieniarz|Dawna Marie Bieniarz]] 06:30, 2015 June 30 (CDT)


*I had this error occur after 30 minutes of laptop usage on a fully charged battery. It occurred after I clicked on "Add patient"--the empty serial number box appeared; but, when serial number attempted to be entered "out of memory" error popped up. This was after approx. eight entries done without a problem. I tried a few times to add a patient-same problem occurred so I exited the program. I went back into ACCESS within a minute and had no further problems.[[User:Mlaporte|Mlaporte]] 17:39, 29 December 2010 (CST)
* Has this happened to anyone lately? Ttenbergen 17:02, 2012 November 7 (EST)
** That is very similar to what I found, only it took me more new patients to make it happen. OK, I'll have another look at this one... [[User:Ttenbergen|Ttenbergen]] 17:50, 30 December 2010 (CST)
**Haven't seen this in a long time.--[[User:CMarks|CMarks]] 07:50, 2015 June 26 (CDT)
**not seen[[User:Lkaita|Lisa Kaita]] 08:01, 2015 June 27 (CDT)
** '''I get this often''' when I have an admit and discharge of a patient I logged with minimal data set-before I've entered APACHE....occurs right after I put in D/C date and time.[patient admitted and discharged over weekend usually]. I just hit the "END" and carry on.--[[p:Louise Lemoine-resign-Nov 22, 2018 | Lois Lemoine]]-- 08:05, 2015 June 29 (CDT)
*** Sounds like Lou is the only one who gets this error. Will ask Con to see if she can see any difference in how you enter this kind of data. If there is a way to duplicate this consistently I should be able to fix it. Ttenbergen 12:26, 2015 July 13 (CDT)
**** Louise says that this is so rare it would be impossible to project which patient this will happen to. (as per email from Con)
**** Gail also has had this problem but again it is rarely. (as per email from Con)
***** Funny… on the wiki it said often. Maybe I should ask: what is often? Every other patient? Once a month? (Tina's reply by email)


'''Thanks for the feedback, it really helps in tracking these bugs down!'''[[User:Ttenbergen|Ttenbergen]] 17:53, 30 December 2010 (CST)
== Details ==
I am able to reproduce the error if I manually open and close pts from patientlist pick button and view form door button. I wrote a test program to see if I can force the error programmatically; the program opens and closes patients 100 times, but this doesn't trigger a problem.


[[Category:Bugs]]
The error does not happen if I just open and close the patient viewer directly, i.e. not from Patientlist.
 
The error seems to happen upon the doCmd.Openform in sub cb_pick_click.
 
There was a theory that this is related to '''battery power vs. mains power'''; I replicated the error on my PC, so I really doubt it has anything to do with that.
 
It sounds like most people have had this error at times, and it seems to be more prevalent at high throughput locations.
 
When the error happens, task manager looks like the memory is not the problem, but CPU load spikes.
 
Restarting CCMDB.accdb "fixes" the problem, but that's not a solution.

Latest revision as of 15:49, 21 July 2021

no one provided further input on this bug when last requested, so setting to fixed.


There is a debug error talking about running out of memory. It seems to happen when a patient is opened from the patient list and closed again about 30 times. This has been a problem since ~Jul 2010

The error is (at least in this instance):

Run-time error '2004':

There isn't enough memory to perform this operation. Close unneeded
programs and try the operation again.
Continue (grayed)     end    debug     help

Clicking help just gives a gray screen.


Further troubleshooting

When does the error happen?

I can replicate the error (i.e. make it happen consistently) by opening and closing patients about 30 times. The error has also happened when adding a new patient.

  • Does anyone know of another replicable way of making this error happen consistently? Knowing how to trigger this might help me eliminate the error. Ttenbergen 10:01, 5 April 2011 (CDT)
  • Has this happened to anyone lately? Ttenbergen 17:02, 2012 November 7 (EST)
    • Haven't seen this in a long time.--CMarks 07:50, 2015 June 26 (CDT)
    • not seenLisa Kaita 08:01, 2015 June 27 (CDT)
    • I get this often when I have an admit and discharge of a patient I logged with minimal data set-before I've entered APACHE....occurs right after I put in D/C date and time.[patient admitted and discharged over weekend usually]. I just hit the "END" and carry on.-- Lois Lemoine-- 08:05, 2015 June 29 (CDT)
      • Sounds like Lou is the only one who gets this error. Will ask Con to see if she can see any difference in how you enter this kind of data. If there is a way to duplicate this consistently I should be able to fix it. Ttenbergen 12:26, 2015 July 13 (CDT)
        • Louise says that this is so rare it would be impossible to project which patient this will happen to. (as per email from Con)
        • Gail also has had this problem but again it is rarely. (as per email from Con)
          • Funny… on the wiki it said often. Maybe I should ask: what is often? Every other patient? Once a month? (Tina's reply by email)

Details

I am able to reproduce the error if I manually open and close pts from patientlist pick button and view form door button. I wrote a test program to see if I can force the error programmatically; the program opens and closes patients 100 times, but this doesn't trigger a problem.

The error does not happen if I just open and close the patient viewer directly, i.e. not from Patientlist.

The error seems to happen upon the doCmd.Openform in sub cb_pick_click.

There was a theory that this is related to battery power vs. mains power; I replicated the error on my PC, so I really doubt it has anything to do with that.

It sounds like most people have had this error at times, and it seems to be more prevalent at high throughput locations.

When the error happens, task manager looks like the memory is not the problem, but CPU load spikes.

Restarting CCMDB.accdb "fixes" the problem, but that's not a solution.