Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2609] System Error while compiling Android classes.dex

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2012-09-11T13:31:11.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterChuck Bentley
AssigneeVarun Joshi
Created2012-09-04T10:33:58.000+0000
Updated2016-03-08T07:41:41.000+0000

Description

Steps to Reproduce

This error happened right after I did the 09/04/12 Studio update and the update to Titanium SDK 2.1.2.GA.

Actual Result

Could not create the Java virtual machine. System Error while compiling Android classes.dex

Expected Result

A compiled Android code file.

Attachments

FileDateSize
.log2012-09-04T10:34:04.000+000020509
diagnostic2084869049776099862.log2012-09-04T10:34:08.000+00001660

Comments

  1. Varun Joshi 2012-09-07

    Hi, What did you mean by "System Error"? e.g. was it the Studio ran out of memory error and you had to kill it manually? If this is the case, try changing --launcher.XXMaxPermSize to 512m or even higher in the TitaniumStudio.ini file under the root install directory. Also, please let us know if you have multiple projects and the error happens to all of them when compiling for Android or just a specific one? Thanks, Varun
  2. Chuck Bentley 2012-09-11

    I have made the changes to the config file, it is know running. Thanks, Chuck Bentley
  3. Varun Joshi 2012-09-11

    Closing the ticket as per above comment.

JSON Source