cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pier Bover (JIRA)" <>
Subject [jira] [Commented] (CB-12916) GradleBuilder.js has hardcoded memory parameter
Date Thu, 03 Aug 2017 22:20:00 GMT


Pier Bover commented on CB-12916:

I'm having this issue too with a 2GB project.

I've seen the `Xmx2048m` is in many files in the project.

Where do I have to change it?

> GradleBuilder.js has hardcoded memory parameter
> -----------------------------------------------
>                 Key: CB-12916
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-android, cordova-lib
>            Reporter: Jan Piotrowski
>              Labels: memory
> 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:
> Fortunately now one user decided to jump in deep enough to figure out the problem:
> 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`:
> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message