Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build Error] react-native 0.60.4 #1120

Closed
DoM1niC opened this issue Aug 9, 2019 · 4 comments

Comments

@DoM1niC
Copy link

commented Aug 9, 2019

Since the new React changes on Android Projekt my Dev Maschine under VirtualBox says OutofMemory..
Code & Dirs are clean up before compile & reopen the Project...

image
Android Studio 3.4.2

image

@diegolmello

This comment has been minimized.

Copy link
Collaborator

commented Aug 9, 2019

@DoM1niC Try yarn, rm -rf android/app/build and rerun android build.

@DoM1niC

This comment has been minimized.

Copy link
Author

commented Aug 9, 2019

@DoM1niC Try yarn, rm -rf android/app/build and rerun android build.

This will do before I compile everytime.... :(

@diegolmello

This comment has been minimized.

Copy link
Collaborator

commented Aug 9, 2019

@DoM1niC Can you add org.gradle.jvmargs=-Xmx2048M -XX\:MaxHeapSize\=32g on gradle.properties, clean everything and try again?
RN 60 seems to be heavier than 59.

@DoM1niC

This comment has been minimized.

Copy link
Author

commented Aug 9, 2019

@DoM1niC Can you add org.gradle.jvmargs=-Xmx2048M -XX\:MaxHeapSize\=32g on gradle.properties, clean everything and try again?
RN 60 seems to be heavier than 59.

Works Thanks 👍

@DoM1niC DoM1niC closed this Aug 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.