Thanks again, it's an endless story, here is the new message with 1536 in MaxRamForDex:
Parsing code. 0.10
Compiling code. 0.32
Compiling layouts code. 0.13
Generating R file. 0.12
Compiling debugger engine code. Error
Error occurred during initialization of VM
Could not reserve enough space for 1572864KB object heap
I also tried 1664 but I also got the same message with 1703...KB
I am quite disappointed.
BR
Serge