Author: Dance for Dreams
Link: https://www.jianshu.com/p/e253e6768fd9
When SuperMap iObjects.NET runs on the Win10 system, or on the Win7 system with a higher version of the Framework, when we are constantly zooming and panning the map, inexplicable crashes often occur on some machines, or It is the problem that the error memory is damaged. The main reason is that DotNet4.6.1 is installed under Win10, and the new RyuJIT compiler of DotNet4.6.1 is used. At this time, you can try to adjust to disable RyuJIT and use the original LegacyJIT compiler.
One of the most direct ways to disable the RyuJIT compiler is to modify the program's configuration file.
1. We can add the App.config file to the project. If there is already a configuration file in the project, please ignore this step
New configuration file
2. Then add the following content in App.config and recompile the program
<configuration>
<runtime>
<useLegacyJit enabled="1" />
</runtime>
</configuration>
set result