Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

How to check the peak stack size of all thread in a process.

$
0
0
Hi, guys! My prograss crashs with a stackoverflow exception in some pcs. I changed the stacksize of thread from default(1M) to (2M) for fixing this problem. But I have got confused with some doubts. 1、Why this exception happens in some pcs not all? I think the logic is the same ,so the stack used must be identified too. 2、Why the default stack size is 1M? Just for saving the memory of process or have some other reasons? 3、Can there any tools or methods for me to find the logic where using so much stack?

Viewing all articles
Browse latest Browse all 17825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>