I'm using Android Studio 1.4

I've followed the documentation to add a separate studio.vmoptions  setting 
--Xmx4096m
I can't get it to work.

I've tried restarting Android Studio.
That didn't work.

I've put the studio.vmoptions in the ~/Library/Preferences/Android 
Studio<pick your version>  folder  (everything from Preview 1.3 to 1.4)
again with a AS restart.
That didn't work.

I've created an created an environment variable  export 
STUDIO_VM_OPTIONS=/Users/hsmith/mySpecialPath/studio.vmoptions
again with a restart
That didn't work.

I even tried adding this to my build.gradle

dexOptions {
    javaMaxHeapSize "4g"}

still no luck.

The build seems to be successful.  It's when I ask it to run a native debug 
session that I get this error.  

I can run gradle assembledebug from the terminal command and get a successful 
build.  


We're struggling with trying to migrate our tool chain for our large, mostly 
native c/c++ android application from a command line ndk-build / ant debug / 
ndk-gdb command line debugging, based strategy

to Android Studio. I'm not sure the tool is ready for us but we really want to 
continue the pilgrimage to get it working.  I've got lot's of questions but 
this is the current road block.

any help is appreciated.

Thanks 

Hugh



-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to