expo / turtle

Standalone app builder service
MIT License
385 stars 29 forks source link

Build RAM usage remains after turtle build:android finishes #316

Open nchrysis opened 3 years ago

nchrysis commented 3 years ago

New Issue Checklist

Issue Description

After running the turtle-build:android command, the java program remains in RAM and has high memory usage about 5.5GB. Expected behaviour: after the build command finishes, the java program used to generate the .apk, frees up its memory and exits. Screenshot_20210524_170023

Command executed

turtle build:android --keystore-path --keystore-alias -t apk

Complete output when running turtle, including the stack trace and command used
 The build command completed successfully. 

Environment

Expo CLI 4.4.8 environment info:
    System:
      OS: Linux 5.9 Manjaro Linux
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 14.16.0 - /usr/bin/node
      Yarn: 1.22.10 - ~/.npm-global/bin/yarn
      npm: 7.11.2 - ~/.npm-global/bin/npm
    IDEs:
      Android Studio: 4.2 AI-202.7660.26.42.7351085
    npmPackages:
      expo: ^41.0.0 => 41.0.1 
      react: 16.13.1 => 16.13.1 
      react-dom: 16.13.1 => 16.13.1 
      react-native: https://github.com/expo/react-native/archive/sdk-41.0.0.tar.gz => 0.63.2 
      react-native-web: ~0.13.12 => 0.13.18 
    npmGlobalPackages:
      expo-cli: 4.4.8
    Expo Workflow: managed
Gustavo210 commented 1 year ago

same problem, I noticed that it happens on linux and mac but on linux the amount of ram used is exorbitant, easily using about 2 3gb.