I'm trying to generate the apk of a small test application that I did with ionic 3 but it sends me this error
FATAL ERROR: Committing semi space failed. Allocation failed - process out of memory
I use the following command ionic cordova build android --prod
Any idea of how it can be solved? I have the latest version of npm