0

I have installed Android studio today. Now When I am trying to import my existing project which work previously in other PC, just getting error as shown in below image.

enter image description here

I also tried from Android-Studio : Error: Could not create the Java Virtual Machine. If any other solution than please let me know about these.

My System Description. Window 7, 32-bit, 3GB RAM

Community
  • 1
  • 1
Gunjan Patel
  • 2,342
  • 4
  • 24
  • 45

2 Answers2

0

If you need to use 4GB of memory use -Xmx4096m

Avinash R
  • 3,101
  • 1
  • 27
  • 47
0

This is a memory error. Seems like you have to increase the memory size as you have listed that your PC has only 3GB RAM. You have to physically increase the RAM and then increase the heap size for Android Studio using the following guide :

http://tools.android.com/tech-docs/configuration

Android Studio System Requirements page says only 2GB is needed as a minimum. So you may be able to run it if you follow the above guide and increase the heap size Android Studio uses.

But in the long run I highly recommend increasing the RAM, as 4GB is the recommended size and without that much you will encounter many lags and problems such as very high Gradle build times.

Some User
  • 31
  • 4
  • Try running on 2GB and tell me! Like any other System Requirements, it tells the minimum memory for *running* not for *using*. – Avinash R Jul 23 '16 at 15:12