{"action":"opened","issue":{"url":"https://api.github.com/repos/TWCable/grabbit/issues/76","labels_url":"https://api.github.com/repos/TWCable/grabbit/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/TWCable/grabbit/issues/76/comments","events_url":"https://api.github.com/repos/TWCable/grabbit/issues/76/events","html_url":"https://github.com/TWCable/grabbit/issues/76","id":106928883,"number":76,"title":"OutOfMemoryError (VM limit exceeded)","user":{"login":"ogebert","id":12524931,"avatar_url":"https://avatars.githubusercontent.com/u/12524931?v=3","gravatar_id":"","url":"https://api.github.com/users/ogebert","html_url":"https://github.com/ogebert","followers_url":"https://api.github.com/users/ogebert/followers","following_url":"https://api.github.com/users/ogebert/following{/other_user}","gists_url":"https://api.github.com/users/ogebert/gists{/gist_id}","starred_url":"https://api.github.com/users/ogebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogebert/subscriptions","organizations_url":"https://api.github.com/users/ogebert/orgs","repos_url":"https://api.github.com/users/ogebert/repos","events_url":"https://api.github.com/users/ogebert/events{/privacy}","received_events_url":"https://api.github.com/users/ogebert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-17T07:49:52Z","updated_at":"2015-09-17T07:49:52Z","closed_at":null,"body":"We are trying to copy content from an AEM 6.0 author instance to a new AEM 6.1 author instance using grabbit 3.0 on the \"old\" author and 4.0.x on the new author. Both instances run with Java 1.7.\r\nThe old author throws OutOfMemoryErrors when assets (mostly zips and videos) > 200MB are processed.\r\nAs there is a max array index, more heap space will not solve the problem, I guess.\r\n\r\n11.09.2015 10:42:50.743 *DEBUG* [54.77.235.255 [1441960937546] GET /grabbit/job HTTP/1.1] org.springframework.batch.core.step.tasklet.TaskletStep Applying contribution: [StepContribution: read=100, written=0, filtered=29, readSkips=0, writeSkips=0, processSkips=0, exitStatus=EXECUTING]\r\n11.09.2015 10:42:50.743 *DEBUG* [54.77.235.255 [1441960937546] GET /grabbit/job HTTP/1.1] org.springframework.batch.core.step.tasklet.TaskletStep Rollback for Error: java.lang.OutOfMemoryError: Requested array size exceeds VM limit\r\n11.09.2015 10:42:50.743 *DEBUG* [54.77.235.255 [1441960937546] GET /grabbit/job HTTP/1.1] org.springframework.transaction.support.TransactionTemplate Initiating transaction rollback on application exception\r\njava.lang.OutOfMemoryError: Requested array size exceeds VM limit\r\n11.09.2015 10:42:50.743 *DEBUG* [54.77.235.255 [1441960937546] GET /grabbit/job HTTP/1.1] org.springframework.batch.support.transaction.ResourcelessTransactionManager Initiating transaction rollback\r\n11.09.2015 10:42:50.743 *DEBUG* [54.77.235.255 [1441960937546] GET /grabbit/job HTTP/1.1] org.springframework.batch.support.transaction.ResourcelessTransactionManager Rolling back resourceless transaction on [org.springframework.batch.support.transaction.ResourcelessTransactionManager$ResourcelessTransaction@2c015cbe]\r\n11.09.2015 10:42:50.743 *DEBUG* [54.77.235.255 [1441960937546] GET /grabbit/job HTTP/1.1] org.springframework.batch.repeat.support.RepeatTemplate Handling exception: java.lang.OutOfMemoryError, caused by: java.lang.OutOfMemoryError: Requested array size exceeds VM limit\r\n11.09.2015 10:42:50.743 *DEBUG* [54.77.235.255 [1441960937546] GET /grabbit/job HTTP/1.1] org.springframework.batch.repeat.support.RepeatTemplate Handling fatal exception explicitly (rethrowing first of 1): java.lang.OutOfMemoryError: Requested array size exceeds VM limit\r\n11.09.2015 10:42:50.743 *ERROR* [54.77.235.255 [1441960937546] GET /grabbit/job HTTP/1.1] org.springframework.batch.core.step.AbstractStep Encountered an error executing step serverJcrNodes in job serverJob\r\njava.lang.OutOfMemoryError: Requested array size exceeds VM limit"}}