I’m using a 32bit client with a 64bit server. I have a method marked with the Execute on Server property that calls a method in our plugin.
When I call the method marked with the Execute on Server property, the process on the server is always allocated about 280kb of stack space. This causes a stack overflow in the plugin (exception code 0xC00000FD).
I’ve also tried running this Execute on Server method from its own parent process on the client with a hardcoded stack size of 560kb, but it still receives 280kb of stack space when it runs on the server.
If I call the method using the command Execute on Server from the client with a stack size of 0, the process gets about 540kb for a stack size and the plugin command runs fine.
Running the plugin command in its own server process works fine.
Out of curiosity, is there a way to increase the stack size of a method that has the Execute on Server attribute enabled? It seems like these methods run similar to triggers.