I'm trying build my react native project for android with CircleCI but getting memory limitations.
In their reference to 'Common Android memory issues', it's recommended to run Gradle with --no-daemon due to high memory usage by daemon.
However this flag is being ignored since it's forking a new JVM with message:
'To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.0.1/userguide/gradle_daemon.html.Daemon will be stopped at the end of the build stopping after processing'
How do we prevent this flag from being ignored?