{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/839","repository_url":"https://api.github.com/repos/Microsoft/BashOnWindows","labels_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/839/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/839/comments","events_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/839/events","html_url":"https://github.com/Microsoft/BashOnWindows/issues/839","id":170225892,"number":839,"title":"Memory issue when building an Android app","user":{"login":"sydneyhenrard","id":5309640,"avatar_url":"https://avatars.githubusercontent.com/u/5309640?v=3","gravatar_id":"","url":"https://api.github.com/users/sydneyhenrard","html_url":"https://github.com/sydneyhenrard","followers_url":"https://api.github.com/users/sydneyhenrard/followers","following_url":"https://api.github.com/users/sydneyhenrard/following{/other_user}","gists_url":"https://api.github.com/users/sydneyhenrard/gists{/gist_id}","starred_url":"https://api.github.com/users/sydneyhenrard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sydneyhenrard/subscriptions","organizations_url":"https://api.github.com/users/sydneyhenrard/orgs","repos_url":"https://api.github.com/users/sydneyhenrard/repos","events_url":"https://api.github.com/users/sydneyhenrard/events{/privacy}","received_events_url":"https://api.github.com/users/sydneyhenrard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-09T17:35:48Z","updated_at":"2016-08-09T17:35:48Z","closed_at":null,"body":"Please use the following bug reporting template to help produce actionable and reproducible issues:\r\n\r\n* A brief description\r\n\r\nRunning the command `export ANDROID_HOME=$ANDROID_HOME; ./gradlew --info build  --stacktrace`, I get a memory issue.\r\n\r\n* Actual results (with terminal output if applicable)\r\n\r\n```\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':CordovaLib:processDebugResources'.\r\n> java.io.IOException: Cannot run program \"/home/sydney/android-sdk-linux/build-tools/23.0.0/aapt\": error=12, Cannot allocate memory\r\n\r\n* Try:\r\nRun with --debug option to get more log output.\r\n\r\n* Exception is:\r\norg.gradle.api.tasks.TaskExecutionException: Execution failed for task ':CordovaLib:processDebugResources'.\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)\r\n        at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)\r\n        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)\r\n        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)\r\n        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)\r\n        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)\r\n        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)\r\n        at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:305)\r\n        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)\r\n        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)\r\n        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:88)\r\n        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:29)\r\n        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)\r\n        at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)\r\n        at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68)\r\n        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)\r\n        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)\r\n        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55)\r\n        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)\r\n        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)\r\n        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80)\r\n        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)\r\n        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)\r\n        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51)\r\n        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)\r\n        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)\r\n        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)\r\n        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)\r\n        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)\r\n        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)\r\n        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)\r\n        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)\r\n        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)\r\n        at org.gradle.launcher.Main.doAction(Main.java:33)\r\n        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)\r\n        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)\r\n        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)\r\n        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)\r\n        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:33)\r\n        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:130)\r\n        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)\r\nCaused by: org.gradle.internal.UncheckedException: java.io.IOException: Cannot run program \"/home/sydney/android-sdk-linux/build-tools/23.0.0/aapt\": error=12, Cannot allocate memory\r\n        at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:39)\r\n        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:66)\r\n        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:235)\r\n        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:211)\r\n        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:222)\r\n        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:200)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)\r\n        ... 47 more\r\nCaused by: java.io.IOException: Cannot run program \"/home/sydney/android-sdk-linux/build-tools/23.0.0/aapt\": error=12, Cannot allocate memory\r\n        at com.android.ide.common.internal.CommandLineRunner.runCmdLine(CommandLineRunner.java:115)\r\n        at com.android.ide.common.internal.CommandLineRunner.runCmdLine(CommandLineRunner.java:96)\r\n        at com.android.ide.common.internal.CommandLineRunner.runCmdLine(CommandLineRunner.java:76)\r\n        at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:738)\r\n        at com.android.builder.core.AndroidBuilder$processResources$3.call(Unknown Source)\r\n        at com.android.build.gradle.tasks.ProcessAndroidResources.doFullTaskAction(ProcessAndroidResources.groovy:120)\r\n        at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.groovy:64)\r\n        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63)\r\n        ... 53 more\r\nCaused by: java.io.IOException: error=12, Cannot allocate memory\r\n        ... 61 more\r\n```\r\n* Your Windows build number\r\n\r\nWin 10 Anniversary\r\n\r\nSee [our contributing instructions](/CONTRIBUTING.md) for assistance.\r\n"}}
{"actor":{"display_login":"sydneyhenrard"}}