Titanium Studio – ‘Failed to create the Java Virtual Machine’

I recently installed Titanium Studio on my PC. On first startup, I received the following (pretty useless)  error message …

TiError

To get more information about the error ( and the cause ), you can start TitaniumStudio.exe from the command prompt with the -debug switch

tiError2

After more searching and testing, I changed a parameter in the titaniumstudio.ini from

-Xmx1024m to -Xmx512m

Now Titanium Studio starts without any complaint …