Stack size control similar to Java's -Xss

Nigel Whitaker <[email protected]> Tue, 26 Apr 2016 17:23:59 +0100
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <[email protected]>
Hello,

We have some code (and data) that is expensive in terms of recursion (500+ stack frames).

In Java we can use -Xss600k and it will run, but we get a StackOverflowError with the default JVM stacksize.


With an ikvmc generated .exe we also get a System.StackOverflowException which isn’t unexpected.  

I’ve experimented with editbin.exe /stack but it doesn’t seem to have an effect and we’re still getting the exception with 10MB stack sizes for example. (I could be using the wrong one - there’s several in visual studio!).

Is there any ikvm specific control of stack-size that I’ve missed in the documentation or any suggestions in this area?

(Longer term we’ll rewrite the Java code to be less recursive).

Many thanks,

Nigel

— 
Nigel Whitaker - DeltaXML Ltd - [email protected]






------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers