Thanks for following up, Pion. The maximum entity limits in the local development environment should mirror the limits/quotas in the production environment, meaning you should see an error when passing more than 500 entities into put(). Please post a new bug report to the issue tracker, and thanks for the catch.
http://code.google.com/p/googleappengine/issues/list - Jason On Wed, Oct 14, 2009 at 12:49 PM, Pion <onlee2...@gmail.com> wrote: > > Thanks Jason. > > This is local environment during my stress test. I have not uploaded > this app on the production yet. > I have set the limit per your advice below. > > Again, thanks. > > On Oct 14, 11:18 am, "Jason (Google)" <apija...@google.com> wrote: > > Did you see this in the local development environment or production? > > According tohttp:// > code.google.com/appengine/docs/java/datastore/overview.html#Qu..., > > the maximum number of entities for any batch write is 500. If you're not > > running this in production, I would first try running this there since > > you'll likely run into the 30 second request time limit when trying to > > persist such a large number of entities in a single request. You should > look > > into task queues to split this write into several requests/tasks. > > - Jason > > > > On Sun, Oct 11, 2009 at 3:09 PM, Pion <onlee2...@gmail.com> wrote: > > > > > I am using java.util.List<Key> put(java.lang.Iterable<Entity> > > > entities) as shown on > > > > >http://code.google.com/appengine/docs/java/javadoc/com/google/appengi. > .. > > > . > > > > > I received the "The request to API call datastore_v3.Put() was too > > > large." exception -- see the details below. > > > > > I put 3,600+ entities. I tested with 3,000 entities without any > > > problem. > > > > > Is there any method to find out the max entities could be put? > > > > > Thanks in advance for your help. > > > > > com.google.apphosting.api.ApiProxy$RequestTooLargeException: The > > > request to API call datastore_v3.Put() was too large. > > > at > > > com.google.appengine.tools.development.ApiProxyLocalImpl.makeSyncCall > > > (ApiProxyLocalImpl.java:97) > > > at > com.google.apphosting.api.ApiProxy.makeSyncCall(ApiProxy.java:79) > > > at > > > com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall > > > (DatastoreApiHelper.java:48) > > > at com.google.appengine.api.datastore.DatastoreServiceImpl$2.run > > > (DatastoreServiceImpl.java:170) > > > at > > > com.google.appengine.api.datastore.TransactionRunner.runInTransaction > > > (TransactionRunner.java:30) > > > at com.google.appengine.api.datastore.DatastoreServiceImpl.put > > > (DatastoreServiceImpl.java:158) > > > at com.google.appengine.api.datastore.DatastoreServiceImpl.put > > > (DatastoreServiceImpl.java:144) > > > at com.col.server.MDsIriQueue.add(MDsIriQueue.java:55) > > > at com.col.server.TMDsIriQueue.testAdd2(TMDsIriQueue.java:63) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke > > > (NativeMethodAccessorImpl.java:39) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke > > > (DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > at junit.framework.TestCase.runTest(TestCase.java:164) > > > at junit.framework.TestCase.runBare(TestCase.java:130) > > > at junit.framework.TestResult$1.protect(TestResult.java:106) > > > at junit.framework.TestResult.runProtected(TestResult.java:124) > > > at junit.framework.TestResult.run(TestResult.java:109) > > > at junit.framework.TestCase.run(TestCase.java:120) > > > at junit.framework.TestSuite.runTest(TestSuite.java:230) > > > at junit.framework.TestSuite.run(TestSuite.java:225) > > > at org.junit.internal.runners.JUnit38ClassRunner.run > > > (JUnit38ClassRunner.java:79) > > > at > org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run > > > (JUnit4TestReference.java:46) > > > at org.eclipse.jdt.internal.junit.runner.TestExecution.run > > > (TestExecution.java:38) > > > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests > > > (RemoteTestRunner.java:467) > > > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests > > > (RemoteTestRunner.java:683) > > > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run > > > (RemoteTestRunner.java:390) > > > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main > > > (RemoteTestRunner.java:197) > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~----------~----~----~----~------~----~------~--~---