Out of Memory Error: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 11: Line 11:
Clicking help just gives a gray screen.  
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.
{discussion}
* 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)
== 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.  
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.
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.


===Prevalence: Who has had this error===
It sounds like most people have had this error at times, and it seems to be more prevalent at high throughput locations.
Could anyone who has had this error please add their name to the list?
 
* Deb
When the error happens, task manager looks like the memory is not the problem, but CPU load spikes.
* Pat
* Hazel
*Shirley
*Marie (at Grace: W3 laptop)
*Gail


=== Details ===
Restarting CCMDB.mdb "fixes" the problem, but that's not a solution.
* Has anyone (who) had this error in situations other than adding a patient?
* '''Thanks for the feedback, it really helps in tracking these bugs down!''' I made some changes with the Jan 2011 update that I hope might fix this. Could you please let me know if you are still getting this error? Thanks, [[User:Ttenbergen|Ttenbergen]] 19:18, 30 December 2010 (CST){{Discussion}}


* 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]]
** 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){{Discussion}}


*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)
** 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)




[[Category:Bugs]]
[[Category:Bugs]]

Revision as of 09:01, 5 April 2011

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. {discussion}

  • 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)

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.mdb "fixes" the problem, but that's not a solution.