开发者

Android stack size

How can i get and ch开发者_如何学Pythonange the stack size (even for the main thread) of my Android application.


The main thread stack size is set in the firmware and cannot be modified, short of modifying the firmware for your own phone. As Mr. Strong indicates, for threads you fork, you can set your own stack size.


AFAIK -Xss can be used as a command line to change the main threads stacks size, if not using the command line the app framework will use the default size. In this case if you need more stack you will need to start a thread (using this ctor) to do the work.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜