S
SNEC
I have a system that prints a report once an hour and 5 reports once a day
That is 29 reports a day. I use the VBA command DoCmd.OpenReport to do the printing
After a while the system locks up due to out of memory
Using the Windows performance monitor I can track how much memory is being used over time. It seems the that everytime OpenReport is called, the system uses up a chunk of memory. The % committed bytes eventually moves to 100 percent and the system crashes
I use the Quit command and set all my objects to Nothing at the end of my VBA routines. I also use the CloseReport command after printing. Any reason why I can't release the memory
This does not occur if I comment out the OpenReport command. I am using Windows 2000 and Access 2002
That is 29 reports a day. I use the VBA command DoCmd.OpenReport to do the printing
After a while the system locks up due to out of memory
Using the Windows performance monitor I can track how much memory is being used over time. It seems the that everytime OpenReport is called, the system uses up a chunk of memory. The % committed bytes eventually moves to 100 percent and the system crashes
I use the Quit command and set all my objects to Nothing at the end of my VBA routines. I also use the CloseReport command after printing. Any reason why I can't release the memory
This does not occur if I comment out the OpenReport command. I am using Windows 2000 and Access 2002