# 1.3-Mejorar rendimiento de Android Studio

Desde menu Help--> Edit Custom VM Options

![](/files/-LnPVKG968Zrkm8APedp)

Si no existe el archivo darle crear

![](/files/-LnPVVrk82qOgaz6hD18)

Se crea el archivo

![](/files/-LnPV_eNYsE7jw9LfCns)

Ahora colocar las propiedades

```bash
-Xms1024m
-Xmx4096m
-XX:MaxPermSize=1024m
-XX:ReservedCodeCacheSize=256m
-XX:+UseCompressedOops

```

Da 4 gm de ram maximo empezando en 1

![](/files/-LnPVtmfIf3L0HJ4ovhY)

Lo guarda e el directorio oculto

cd .AndroidStudio3.5/config

![](/files/-LnPYsAIR6lyEAl8zWmT)

Si no se observa mejoras importrantes se puede eliminar el archivo.

Optimizar Gradle

Editar el archivo&#x20;

```bash
sudo gedit /home/avbravo/.gradle/gradle.properties

```

Y agregar las lineas

```bash
org.gradle.daemon=true
org.gradle.parallel=true
```

![](/files/-LnPWoEX_lUmGR_boAg1)

Reiniciar Android Studio


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://avbravo-2.gitbook.io/developmentcookbook/android/configurar-dispositivo-android/otras-opciones-no-fundamentales/mejorar-rendimiento-de-android-studio.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
