{"action":"opened","issue":{"url":"https://api.github.com/repos/ngraham-USGS/X2CM-Data/issues/2","repository_url":"https://api.github.com/repos/ngraham-USGS/X2CM-Data","labels_url":"https://api.github.com/repos/ngraham-USGS/X2CM-Data/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/ngraham-USGS/X2CM-Data/issues/2/comments","events_url":"https://api.github.com/repos/ngraham-USGS/X2CM-Data/issues/2/events","html_url":"https://github.com/ngraham-USGS/X2CM-Data/issues/2","id":194131087,"number":2,"title":"Writing data files into xlsx ","user":{"login":"ngraham-USGS","id":23367583,"avatar_url":"https://avatars.githubusercontent.com/u/23367583?v=3","gravatar_id":"","url":"https://api.github.com/users/ngraham-USGS","html_url":"https://github.com/ngraham-USGS","followers_url":"https://api.github.com/users/ngraham-USGS/followers","following_url":"https://api.github.com/users/ngraham-USGS/following{/other_user}","gists_url":"https://api.github.com/users/ngraham-USGS/gists{/gist_id}","starred_url":"https://api.github.com/users/ngraham-USGS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngraham-USGS/subscriptions","organizations_url":"https://api.github.com/users/ngraham-USGS/orgs","repos_url":"https://api.github.com/users/ngraham-USGS/repos","events_url":"https://api.github.com/users/ngraham-USGS/events{/privacy}","received_events_url":"https://api.github.com/users/ngraham-USGS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-07T18:36:55Z","updated_at":"2016-12-07T18:36:55Z","closed_at":null,"body":"I'm using the write.xlsx2() command to write large files... I have my code running in a loop for each station i'm retrieving data from and at the end of each loop a new sheet of that data pulled is created. I can watch the file size grow as the code progesses through each station, however at the end of the final loop the file size drops to 0 and I get this error message.... \r\nError in .jcall(\"RJavaTools\", \"Ljava/lang/Object;\", \"invokeMethod\", cl,  : \r\n  java.lang.OutOfMemoryError: Java heap space\r\n\r\n\r\nDoes anyone have any suggestions of how I might fix this? I should have plenty of memory on my computer, is there a limit in R or in Java?"}}
{"actor":{"display_login":"ngraham-USGS"}}