0

enter image description here

So I'm getting this particular error for a while when I'm trying to run a react native app, I actually kinda know what it is. This error shows up when the emulator doesnt have enough storage to install the app (at least I think this way). So I wiped the data in emulator from android studio. But it didn't work. Then I created new emulator with 32 GB. Got error again, and this is what I saw after I tried to run the app;

enter image description here

I feel like something is filling up all the space no matter how big it is. Not sure what is wrong. Thanks in advance

İlker
  • 1,872
  • 1
  • 12
  • 28
  • Does this answer your question? [How to deal with "java.lang.OutOfMemoryError: Java heap space" error?](https://stackoverflow.com/questions/37335/how-to-deal-with-java-lang-outofmemoryerror-java-heap-space-error) – Joel Nov 03 '22 at 16:46
  • @Joel no it does not – İlker Nov 03 '22 at 16:47
  • You've tried all the answers there? – Joel Nov 03 '22 at 16:49
  • it's not the same error – İlker Nov 03 '22 at 16:49
  • https://stackoverflow.com/questions/70090508/how-do-i-fix-this-error-java-lang-outofmemoryerror-no-error-message – Joel Nov 03 '22 at 16:51
  • 1
    How much memory do you have on the machine where you are building the app? – TheLibrarian Nov 03 '22 at 16:53
  • This bug isn't about storage on the emulator (which could easily be fixed by increasing it). This is RAM on your PC when running the packageDebug command. You need to give gradle more RAM in order to perform the action. (Gradle is the build system used for Android apps) – Gabe Sechan Nov 03 '22 at 17:09

0 Answers0