So, once again, I've tried to upload some data.

After a couple, I guess, thousand records I start
getting HttpServletResponse.SC_FORBIDDEN from
the app engine server.

On the Dashboard it says:

Your application is exceeding a quota: CPU Time
Your application is exceeding a quota: Datastore CPU Time

but under Resource, CPU Time usage is at 34%
and Stored Data usage is at 4%.

I am trying to develop an application on GAE.
I will need to load tens of thousands or
a couple of hundred thousand entities as part
of testing the application. I will then want
to delete those entities.

Currently, I can only load a couple of hundred
before the app engine starts rejecting additional
uploads. And I can not delete any of them - I
keep getting timeouts - even if I try to delete only
10.

Is there some upload per minute quota or something?
And, whats the magic to delete stuff.

The following code causes timeouts:

     DatastoreService ds = DatastoreServiceFactory.getDatastoreService();
     final Query q = new Query(kindName);
     q.setKeysOnly();

     final Iterable<Entity> entities = ds.prepare(q).asIterable(
                 FetchOptions.Builder.withLimit(count));
     KeyIterable ki = new KeyIterable(entities);
     ds.delete(ki);
     int numberDeleted = ki.getCount();
     return numberDeleted;



Richard

-- 
Quis custodiet ipsos custodes

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to