I see same problem. I cant use appstats with my app. Can I configure to reduce appstats-data of each RPC call?
Uncaught exception from servlet com/google/net/rpc/RpcStub.java:1025:in `runInContext': com.google.apphosting.api.ApiProxy$RequestTooLargeException: The request to API call memcache.Set() was too large. (NativeException) from com/google/tracing/TraceContext.java:444:in `run' from com/google/tracing/TraceContext.java:684:in `runInContext' from com/google/tracing/TraceContext.java:322:in `runInInheritedContextNoUnref' from com/google/tracing/TraceContext.java:314:in `runInInheritedContext' from com/google/tracing/TraceContext.java:442:in `run' from com/google/net/rpc/RpcStub.java:1046:in `rpcFinished' from com/google/net/rpc/RPC.java:2047:in `internalFinish' from com/google/net/rpc/impl/RpcNetChannel.java:2338:in `finishRpc' ... 8 levels... from com/google/net/async/LoopingEventDispatcher.java:378:in `run' takeru 2010/4/9 Trung <gwtdevelo...@gmail.com>: > I tried to use Appstats. > > However, Appstats uses and shows a lot of raw (low level) data. > Sometime memcache API throws exception as below: > > com.google.appengine.api.memcache.LogAndContinueErrorHandler > handleServiceError: Service error in memcache > com.google.appengine.api.memcache.MemcacheServiceException: Memcache > put: Unknown exception setting 2 keys > at > com.google.appengine.api.memcache.MemcacheServiceImpl.makeSyncCall(MemcacheServiceImpl.java: > 183) > at > com.google.appengine.api.memcache.MemcacheServiceImpl.putAll(MemcacheServiceImpl.java: > 420) > at > com.google.appengine.api.memcache.MemcacheServiceImpl.putAll(MemcacheServiceImpl.java: > 459) > at > com.google.appengine.tools.appstats.MemcacheWriter.persist(MemcacheWriter.java: > 264) > at > com.google.appengine.tools.appstats.MemcacheWriter.commit(MemcacheWriter.java: > 177) > at > com.google.appengine.tools.appstats.AppstatsFilter.doFilter(AppstatsFilter.java: > 94) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1157) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1157) > at > com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java: > 97) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1157) > at > com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java: > 35) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1157) > at > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java: > 43) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1157) > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: > 388) > at > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: > 216) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: > 182) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: > 765) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > 418) > at > com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java: > 238) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: > 152) > at org.mortbay.jetty.Server.handle(Server.java:326) > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: > 542) > at org.mortbay.jetty.HttpConnection > $RequestHandler.headerComplete(HttpConnection.java:923) > at > com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java: > 76) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > at > com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java: > 135) > at > com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java: > 243) > at com.google.apphosting.base.RuntimePb$EvaluationRuntime > $6.handleBlockingRequest(RuntimePb.java:5485) > at com.google.apphosting.base.RuntimePb$EvaluationRuntime > $6.handleBlockingRequest(RuntimePb.java:5483) > at > com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java: > 24) > at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java: > 398) > at com.google.net.rpc.impl.Server$2.run(Server.java:852) > at > com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java: > 56) > at > com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java: > 536) > at com.google.net.rpc.impl.Server.startRpc(Server.java:807) > at com.google.net.rpc.impl.Server.processRequest(Server.java:369) > at > com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java: > 442) > at > com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java: > 319) > at > com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java: > 290) > at com.google.net.async.Connection.handleReadEvent(Connection.java: > 474) > at > com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java: > 831) > at > com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java: > 207) > at com.google.net.async.EventDispatcher.loop(EventDispatcher.java: > 103) > at > com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java: > 251) > at com.google.apphosting.runtime.JavaRuntime > $RpcRunnable.run(JavaRuntime.java:404) > at java.lang.Thread.run(Unknown Source) > Caused by: com.google.apphosting.api.ApiProxy > $RequestTooLargeException: The request to API call memcache.Set() was > too large. > at com.google.apphosting.runtime.ApiProxyImpl > $AsyncApiFuture.rpcFinished(ApiProxyImpl.java:263) > at com.google.net.rpc.RpcStub$RpcCallbackDispatcher > $1.runInContext(RpcStub.java:1025) > at com.google.tracing.TraceContext$TraceContextRunnable > $1.run(TraceContext.java:440) > at com.google.tracing.TraceContext.runInContext(TraceContext.java: > 639) > at com.google.tracing.TraceContext > $AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java: > 318) > at com.google.tracing.TraceContext > $AbstractTraceContextCallback.runInInheritedContext(TraceContext.java: > 310) > at com.google.tracing.TraceContext > $TraceContextRunnable.run(TraceContext.java:438) > at com.google.net.rpc.RpcStub > $RpcCallbackDispatcher.rpcFinished(RpcStub.java:1046) > at com.google.net.rpc.RPC.internalFinish(RPC.java:2044) > at com.google.net.rpc.impl.RpcNetChannel.finishRpc(RpcNetChannel.java: > 2298) > at > com.google.net.rpc.impl.RpcNetChannel.messageReceived(RpcNetChannel.java: > 1240) > at > com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java: > 319) > at > com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java: > 290) > at com.google.net.async.Connection.handleReadEvent(Connection.java: > 474) > at > com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java: > 831) > at > com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java: > 207) > at com.google.net.async.EventDispatcher.loop(EventDispatcher.java: > 103) > at com.google.net.async.GlobalEventRegistry > $2.runLoop(GlobalEventRegistry.java:95) > at com.google.net.async.LoopingEventDispatcher > $EventDispatcherThread.run(LoopingEventDispatcher.java > > How can I configure Appstats to disable raw, low-level data? > > Thanks in advance > > -- > 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-j...@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. > > -- 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-j...@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.