StackOverflowException on x64 systems; works correctly on x86

This is just a matter of being sure. Are there any known special limitations / errors in recursion / loops for x64 systems in .NET 4?

My case is quite simple - the program works fine on any x86 system, but it crashes with a StackOverflowException on x64 systems (the program includes some xml / mapping code that contains recursions in several places, etc.).

Currently, the only solution to this problem is to call corflags /32BIT+on my assembly (and the program starts correctly). But I was wondering - are there any special cases that are known to cause x64 errors / problems?

Thank.

+5
source share
1

x64 ( ). , , x64 , x86. , .

+9

All Articles