Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

message = "Maximum call stack size exceeded.";

does anyone know what this message means ??? :(((

thanks in advance

— asked May 25th 2011 by Eni Sinanaj
  • ios
  • mobile
  • stackoverflow
2 Comments
  • Hi Eni.

    Android has limited stack size and if your source files are large, that stack size can become too small.

    You can increase stack size by adding this line:

    <property name="ti.android.threadstacksize" type="int">42000</property>
    

    to tiapp.xml anywhere in root node. You can increase 42000 if you encounter similar or strange issues.

    — commented May 25th 2011 by Ivan Škugor
  • Ivan: please post answers in the answer section not the comments, this way it can be selected as the best answer and close the question. - Thanks

    — commented May 25th 2011 by Matt Apperson

1 Answer

  • Android has limited stack size and if your source files are large, that stack size can become too small.

    You can increase stack size by adding this line:

    <property name="ti.android.threadstacksize" type="int">42000</property>
    

    to tiapp.xml anywhere in root node. You can increase 42000 if you encounter similar or strange issues.

    — answered May 27th 2011 by Matt Apperson
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.