tobiasquinteiro/walkaround

OutOfMemoryError in the logs

GoogleCodeExporter opened this issue · 0 comments

It seems like the following URL causes server errors.

/taskqueue/postcommit 358    54%

Here is the error in the log:

com.google.walkaround.wave.server.servlet.ServerExceptionFilter sendError: 
OutOfMemoryError; overQuota=false; sending 500: Internal server error
java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:3057)
    at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:117)
    at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:407)
    at java.lang.StringBuffer.append(StringBuffer.java:241)
    at java.io.StringWriter.write(StringWriter.java:101)
    at com.google.gson.stream.JsonWriter.string(JsonWriter.java:483)
    at com.google.gson.stream.JsonWriter.name(JsonWriter.java:313)
    at com.google.gson.Streams.write(Streams.java:135)
    at com.google.gson.Streams.write(Streams.java:124)
    at com.google.gson.Streams.write(Streams.java:136)
    at com.google.gson.Streams.write(Streams.java:136)
    at com.google.gson.Streams.write(Streams.java:124)
    at com.google.gson.Streams.write(Streams.java:136)
    at com.google.gson.Gson.toJson(Gson.java:362)
    at com.google.gson.Gson.toJson(Gson.java:346)
    at com.google.gson.Gson.toJson(Gson.java:325)
    at com.google.walkaround.slob.server.GsonProto.toJson(GsonProto.java:62)
    at com.google.walkaround.slob.server.GsonProto.toJson(GsonProto.java:79)
    at com.google.walkaround.wave.server.model.ServerMessageSerializer.serializeWavelet(ServerMessageSerializer.java:58)
    at com.google.walkaround.wave.shared.WaveSerializer.serializeWavelet(WaveSerializer.java:188)
    at com.google.walkaround.wave.server.model.WaveObjectStoreModel$WaveletObject.snapshot(WaveObjectStoreModel.java:77)
    at com.google.walkaround.wave.server.index.WaveIndexer.loadConv(WaveIndexer.java:562)
    at com.google.walkaround.wave.server.index.WaveIndexer.getConvFields(WaveIndexer.java:373)
    at com.google.walkaround.wave.server.index.WaveIndexer.indexConversation(WaveIndexer.java:287)
    at com.google.walkaround.wave.server.index.IndexTask$Conv$1.run(IndexTask.java:67)
    at com.google.walkaround.util.server.RetryHelper$3.run(RetryHelper.java:182)
    at com.google.walkaround.util.server.RetryHelper$3.run(RetryHelper.java:180)
    at com.google.walkaround.util.server.RetryHelper.runBodyOnce(RetryHelper.java:142)
    at com.google.walkaround.util.server.RetryHelper.run(RetryHelper.java:156)
    at com.google.walkaround.util.server.RetryHelper.run(RetryHelper.java:180)
    at com.google.walkaround.wave.server.index.IndexTask$Conv.reliableDelayedPostCommit(IndexTask.java:63)
    at com.google.walkaround.slob.server.PostCommitActionScheduler.taskInvoked(PostCommitActionScheduler.java:225)
I 2012-09-28 13:31:55.271
com.google.walkaround.wave.server.servlet.ServerExceptionFilter sendError: 
Successfully sent GXP error page

Original issue reported on code.google.com by vega113 on 28 Sep 2012 at 8:53