Throwing OutOfMemoryError no Android Studio

Pessoal bom dia, estou com problema no meu projeto do Android Studio, onde o mesmo me dá a seguinte msg: Throwing OutOfMemoryError “Failed to allocate a 114 byte allocation with 486596 free bytes and 475KB until OOM; failed due to fragmentation (required continguous free 8192 bytes for a new buffer where largest contiguous free 0 bytes)”.

Já verifiquei a memório no meu pc, e está ok, também verifiquei a configuração do meu gradle e aparentemente esta ok.

gradle: org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

Alguem pode me ajudar??