With this code you I think you won't be reclaiming any memory. You could try a gc.collect, in addition move the deletions in your code so that the deletes occurr in a function.
I would have the outer loop use a cursor, pass the query to a function that does the fetch of the keys and does the delete then returns. Have stuff full out of scope could help. then call a gc.collect in the outer loop before getting the next cursor. Rgds T -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/njHhAvOqsVUJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
