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


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

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


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.