Mantis

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0021978GameMaker Runner[All Projects] AndroidPublic2016-06-16 11:592016-11-29 14:12
ReporterTaler Dale 
Assigned ToFritz 
PriorityVery HighSeverityB - MajorReproducibility100%
StatusClosedResolutionFixed 
PlatformAndroidOSWindowsOS Version
Summary0021978: Android: Using multiple extensions can cause CPU and RAM usage to become too high for Java, causing gradle to abort builds
DescriptionWhen you have a lot of Android extensions (user has the following extensions Google Play Services, Heyzap, and Facebook) the compiler doesn't have enough memory and the CPU usage goes crazy (at the dex building part) from what I assume is GC trying to free memory.

I had to add a directive into my build.gradle to allocate more memory to the process, worked great after that.

The change that was made to the gradle was as follows:

dexOptions {
javaMaxHeapSize "4g"
}
Steps To Reproduce1. Have a project which contains multiple large Android extensions.
2. Try and build the project for Android.
3. Observe if the build fails.
Additional InformationOriginal helpdesk ticket: http://help.yoyogames.com/tickets/106057 [^]
GM Version1.4.1757
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker