How to enable multi-threaded garbage collection

If you have a multi-core on-site server, you can apply the below settings to improve performance.

1. Backup C:\GpsGateServer\Franson NMEA Service\GpsGate.Service.exe.config

2. Add the <runtime> tag below inside the <configuration> tag in GpsGate.Service.exe.config

<configuration>

  <!-- here you have a lot of other tags!! -->

  <!-- Add this one -->
  <runtime>
    <gcConcurrent enabled="true" />
    <gcServer enabled="true" />
  </runtime>

</configuration>

3. Save and restart the service.

Now you have memory management on your server. It takes full advantage of all CPU cores rather than just one as before.