{"action":"created","issue":{"url":"https://api.github.com/repos/gradle/ge-export/issues/7","repository_url":"https://api.github.com/repos/gradle/ge-export","labels_url":"https://api.github.com/repos/gradle/ge-export/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/gradle/ge-export/issues/7/comments","events_url":"https://api.github.com/repos/gradle/ge-export/issues/7/events","html_url":"https://github.com/gradle/ge-export/issues/7","id":235696951,"number":7,"title":"GC overhead limit exceeded","user":{"login":"wisechengyi","id":596358,"avatar_url":"https://avatars3.githubusercontent.com/u/596358?v=3","gravatar_id":"","url":"https://api.github.com/users/wisechengyi","html_url":"https://github.com/wisechengyi","followers_url":"https://api.github.com/users/wisechengyi/followers","following_url":"https://api.github.com/users/wisechengyi/following{/other_user}","gists_url":"https://api.github.com/users/wisechengyi/gists{/gist_id}","starred_url":"https://api.github.com/users/wisechengyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wisechengyi/subscriptions","organizations_url":"https://api.github.com/users/wisechengyi/orgs","repos_url":"https://api.github.com/users/wisechengyi/repos","events_url":"https://api.github.com/users/wisechengyi/events{/privacy}","received_events_url":"https://api.github.com/users/wisechengyi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-13T21:22:17Z","updated_at":"2017-06-13T21:55:23Z","closed_at":null,"body":"Got the following error after running for a few minutes, so probably a memory leak/forgetting to release resources somewhere.\r\n\r\n```\r\n14:04:37.358 [rxnetty-nio-eventloop-1-1] INFO  com.gradle.exportapi.Application - Streaming events for : s5rbs54mtdqwu\r\n14:04:54.127 [rxnetty-nio-eventloop-1-1] INFO  com.gradle.exportapi.Application - Streaming events for : iixvsdba4r4ve\r\nCould not allocate an instance of [B (size = 8176 bytes) due to: GC overhead limit exceeded\r\n14:05:20.603 [rxnetty-nio-eventloop-1-1] INFO  com.gradle.exportapi.Application - Error streaming build events of build iixvsdba4r4ve, resuming from event id6788...\r\n14:05:20.604 [rxnetty-nio-eventloop-1-1] INFO  com.gradle.exportapi.Application - Streaming events for : iixvsdba4r4ve\r\n14:05:26.812 [rxnetty-nio-eventloop-1-1] INFO  com.gradle.exportapi.Application - Streaming events for : gfymezr6enasi\r\n14:05:26.940 [rxnetty-nio-eventloop-1-1] INFO  com.gradle.exportapi.Application - Streaming events for : fyxlgea3ihqge\r\nCould not allocate an instance of [B (size = 4096 bytes) due to: GC overhead limit exceeded\r\n14:06:00.837 [rxnetty-nio-eventloop-1-1] INFO  com.gradle.exportapi.Application - Error streaming build events of build fyxlgea3ihqge, resuming from event id6139...\r\n14:06:00.838 [rxnetty-nio-eventloop-1-1] INFO  com.gradle.exportapi.Application - Streaming events for : fyxlgea3ihqge\r\nCould not allocate an instance of com/fasterxml/jackson/core/json/JsonReadContext (size = 48 bytes) due to: GC overhead limit exceeded\r\n14:06:15.453 [rxnetty-nio-eventloop-1-1] INFO  com.gradle.exportapi.Application - Error streaming build events of build fyxlgea3ihqge, resuming from event id7887...\r\n14:06:15.453 [rxnetty-nio-eventloop-1-1] INFO  com.gradle.exportapi.Application - Streaming events for : fyxlgea3ihqge\r\n14:06:15.820 [rxnetty-nio-eventloop-1-1] WARN  i.n.channel.DefaultChannelPipeline - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.\r\nio.netty.channel.ChannelPipelineException: io.reactivex.netty.client.ClientConnectionToChannelBridge.handlerRemoved() has thrown an exception.\r\n        at io.netty.channel.DefaultChannelPipeline.callHandlerRemoved0(DefaultChannelPipeline.java:636)\r\n        at io.netty.channel.DefaultChannelPipeline.destroyDown(DefaultChannelPipeline.java:883)\r\n        at io.netty.channel.DefaultChannelPipeline.destroyUp(DefaultChannelPipeline.java:849)\r\n        at io.netty.channel.DefaultChannelPipeline.destroy(DefaultChannelPipeline.java:841)\r\n        at io.netty.channel.DefaultChannelPipeline.access$700(DefaultChannelPipeline.java:44)\r\n        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelUnregistered(DefaultChannelPipeline.java:1316)\r\n        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelUnregistered(AbstractChannelHandlerContext.java:190)\r\n        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelUnregistered(AbstractChannelHandlerContext.java:176)\r\n        at io.netty.channel.DefaultChannelPipeline.fireChannelUnregistered(DefaultChannelPipeline.java:826)\r\n        at io.netty.channel.AbstractChannel$AbstractUnsafe$7.run(AbstractChannel.java:752)\r\n        at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)\r\n        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:418)\r\n        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:440)\r\n        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873)\r\n        at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)\r\n        at java.lang.Thread.run(Thread.java:748)\r\nCaused by: io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1\r\n        at io.netty.buffer.AbstractReferenceCountedByteBuf.release(AbstractReferenceCountedByteBuf.java:133)\r\n        at io.reactivex.netty.protocol.http.sse.ServerSentEvent.release(ServerSentEvent.java:230)\r\n        at io.netty.util.ReferenceCountUtil.release(ReferenceCountUtil.java:84)\r\n        at io.reactivex.netty.channel.BackpressureManagingHandler.handlerRemoved(BackpressureManagingHandler.java:108)\r\n        at io.netty.channel.DefaultChannelPipeline.callHandlerRemoved0(DefaultChannelPipeline.java:631)\r\n        ... 15 common frames omitted\r\n<=========----> 75% EXECUTING\r\n```"},"comment":{"url":"https://api.github.com/repos/gradle/ge-export/issues/comments/308260321","html_url":"https://github.com/gradle/ge-export/issues/7#issuecomment-308260321","issue_url":"https://api.github.com/repos/gradle/ge-export/issues/7","id":308260321,"user":{"login":"w25r","id":2294198,"avatar_url":"https://avatars0.githubusercontent.com/u/2294198?v=3","gravatar_id":"","url":"https://api.github.com/users/w25r","html_url":"https://github.com/w25r","followers_url":"https://api.github.com/users/w25r/followers","following_url":"https://api.github.com/users/w25r/following{/other_user}","gists_url":"https://api.github.com/users/w25r/gists{/gist_id}","starred_url":"https://api.github.com/users/w25r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w25r/subscriptions","organizations_url":"https://api.github.com/users/w25r/orgs","repos_url":"https://api.github.com/users/w25r/repos","events_url":"https://api.github.com/users/w25r/events{/privacy}","received_events_url":"https://api.github.com/users/w25r/received_events","type":"User","site_admin":false},"created_at":"2017-06-13T21:55:23Z","updated_at":"2017-06-13T21:55:23Z","body":"It could be a memory leak, or could be you need to run with more memory.  Have you tried increasing the memory?  If it simply takes longer to error, then it is certainly a memory leak (or memory growth).  "}}
{"actor":{"display_login":"w25r"}}