Skip to content

Is this Android build time & memory increase expected? #268

Closed Answered by cortinico
bhandanyan-nomad asked this question in Q&A
Discussion options

You must be logged in to vote

I'll be happy to try to share any additional information that I can. I'm hopeful that others have run into this and solved or, or just know what I can look into to try to mitigate this memory increase if its possible to do so.

Without seeing your project is hard to say if there is anything that is causing this in particular.

What I can say is that with newArchEnabled=true, you'll be also compiling C++ code. That's due to the New Architecture of React Native being in C++, so there is one compiler more to invoke so builds we be (sadly) a bit slower than old arch.

We invested significant amount of time on build optimizations though, so you should probably look into setting up some caching …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@bhandanyan-nomad
Comment options

@cortinico
Comment options

Answer selected by cortinico
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants