![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
in order to duplicate the problem I put the above in a loop, FOR N = 1 TO 10000 after 8111 iterations, it fails with the error further iterations will also fail if I flip the form to design view and back to form view, the test will run again for another 8111 iterations - why always the same number of iterations ? obviously some resource isn't been cleaned up, but what ? how ? |
#3
| |||
| |||
|
|
Roger <lesperan... (AT) natpro (DOT) com> wrote innews:01b74c12-b7fc-4240-a6b5-5e1f783feb37 (AT) c13g2000prc (DOT) googlegroups.co m: in order to duplicate the problem I put the above in a loop, FOR N = 1 TO 10000 after 8111 iterations, it fails with the error further iterations will also fail if I flip the form to design view and back to form view, the test will run again for another 8111 iterations - why always the same number of iterations ? obviously some resource isn't been cleaned up, but what ? how ? Is there some reason you care that an unrealistic test that is nothing at all like anything that will ever happen in an actual deployed application is failing? That is, what caused you to feel testing in a loop was useful? -- David W. Fenton * * * * * * * * *http://www.dfenton.com/ contact via website only * *http://www.dfenton.com/DFA/ |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
On the workstations showing the error, was the Access application running for a long time? as in days. Or, did they run some functions that moved large amounts of data? I once saw this type of error while trying to archive 3 or 4 years of data from 1 BE to a 2nd. I ended up breaking the queries into steps and restarting Access after each move was completed. "Roger" *wrote in message news:01b74c12-b7fc-4240-a6b5-5e1f783feb37 (AT) c13g2000prc (DOT) googlegroups.com... access2007, intermittent problem * *error - There isn't enough memory to perform this operation a form with unbound textboxes to enter search criteria a query that is really an sql server view a command button that * * builds SELECT string into strSql * * and executes the following * * Me.RecordSource = "SELECT * FROM qrySelectContact WHERE 1 = 2" ' fails here * * DoEvents * * Me.RecordSource = strsql * * DoEvents * * If (Not (Me.RecordsetClone.EOF)) Then * * * * Me.RecordsetClone.MoveLast * * * * DoEvents * * * * Me.RecordsetClone.MoveFirst * * End If in order to duplicate the problem I put the above in a loop, FOR N = 1 TO 10000 after 8111 iterations, it fails with the error further iterations will also fail if I flip the form to design view and back to form view, the test will run again for another 8111 iterations - why always the same number of iterations ? obviously some resource isn't been cleaned up, but what ? how ? |
#6
| |||
| |||
|
|
so now I've got 9-lines of VB that should never fail, failing with two different errors one intermittently and one at iteration 8111 of a loop I will add more logging to narrow down the exact line of failure |
![]() |
| Thread Tools | |
| Display Modes | |
| |