[ 
https://issues.apache.org/jira/browse/CB-14139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16525905#comment-16525905
 ] 

ASF GitHub Bot commented on CB-14139:
-------------------------------------

erisu opened a new pull request #459: CB-14139 android: Add jvmargs flag for 
custom values
URL: https://github.com/apache/cordova-android/pull/459
 
 
   ### Platforms affected
   Android
   
   ### What does this PR do?
   Added an additional flag `--jvmargs` to allow users to customize the 
Gradle's JVM memory heap size settings.
   
   ### What testing has been done on this change?
   - cordova build and run with and without flag settings.
   
   ### Checklist
   - [X] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
   - [X] Commit message follows the format: "CB-3232: (android) Fix bug with 
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform 
affected.
   - [ ] Added automated test coverage as appropriate for this change.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Can't run android commands with 32bit Java
> ------------------------------------------
>
>                 Key: CB-14139
>                 URL: https://issues.apache.org/jira/browse/CB-14139
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android
>    Affects Versions: 8.0.0
>         Environment: Win 10 Pro x64
>            Reporter: misterTi
>            Assignee: Joe Bowser
>            Priority: Blocker
>
> GradleBuilder.js has a buiit-in option org.gradle.jvmargs=---Xmx2048m on line 
> 59, which prevents it from running on 32bit Java. It always fails with VM 
> heap error. The workaround is to create an environment variable 
> __JAVA__OPTIONS=-Xmx512m, but this then affects the whole system.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to