线上Android APP报错stackoverflowerror
PHP中文网
PHP中文网 2017-04-18 09:07:52
0
2
595

一般报这个错的原因是什么?我代码里并没有递归和循环调用的逻辑啊。而且报错点也看不出循环调用的逻辑,求助各位大牛

PHP中文网
PHP中文网

认证0级讲师

reply all(2)
伊谢尔伦

Have you created a lot of threads? You should make good use of the thread pool. Generally, the reason for stackoverflow is either method loop calling or misuse of thread creation and failure to pay attention to thread recycling. This is also the meaning of making good use of the thread pool. .

I have encountered similar errors before, and I felt it was baffling at first. It was only after I learned how to allocate stack memory that I suddenly realized it.

黄舟

Recursive call...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template