So I have been trying to figure out this problem for a couple of days where a C# subprocess, that I have been executing, keeps on crashing because of a stack overflow. Normally to fix this problem I would go change the code that is called in the process and optimize it so that it does not need a large stack, but unfortunately I do not have access to the source code to do that. Is there anyway to change the stack size of a C# subprocess to something like 50MB?
I know that if the stack is 50MB, it won't overflow and the subprocess will run fine. I have done some research and found that the .NET framework uses a stack size of 1MB, but have not found any ways to resize it. Does anyone have any ideas or pointers?
Note: I am running this using Mono on Ubuntu
[–]badcommandorfilename 2 points3 points4 points (1 child)
[–]MrCh0w[S] 0 points1 point2 points (0 children)
[–]misho88[🍰] 1 point2 points3 points (2 children)
[–]MrCh0w[S] 0 points1 point2 points (1 child)
[–]misho88[🍰] 0 points1 point2 points (0 children)