You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Darryl Pogue (JIRA)" <ji...@apache.org> on 2019/04/06 05:51:00 UTC
[jira] [Resolved] (CB-12916) GradleBuilder.js has hardcoded memory
parameter
[ https://issues.apache.org/jira/browse/CB-12916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darryl Pogue resolved CB-12916.
-------------------------------
Resolution: Fixed
Assignee: Bryan Ellis
Fix Version/s: cordova-android@8.0.0
> GradleBuilder.js has hardcoded memory parameter
> -----------------------------------------------
>
> Key: CB-12916
> URL: https://issues.apache.org/jira/browse/CB-12916
> Project: Apache Cordova
> Issue Type: Improvement
> Components: cordova-android
> Reporter: Jan Piotrowski (Sujan)
> Assignee: Bryan Ellis
> Priority: Major
> Labels: memory
> Fix For: cordova-android@8.0.0
>
>
> Ionic users reported having problem with the Android build process when they have biiiig projects with the error message "> Java heap space" for a long time. Recent example:
> https://forum.ionicframework.com/t/packagedebug-error-java-heap-space-with-large-sqlite-db/82997
> Fortunately now one user decided to jump in deep enough to figure out the problem: https://forum.ionicframework.com/t/packagedebug-error-java-heap-space-with-large-sqlite-db/82997/6
> Seems like GradeBuilder.js hardcodes a memory parameter so that it is impossible to change the supplied memory any other way.
> I think I found the code in `cordova-lib`:
> https://github.com/apache/cordova-lib/blob/cef2959c8843074e94448f4bfc7812d0e4748131/spec-plugman/projects/android/cordova/lib/builders/GradleBuilder.js#L59
> It would be great if users could somehow change that value to be bigger that didn't include having to edit this file (re-adding the platform will lose these changes for example).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org