User avatar
Posts: 15232
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

GUIDE: Speed up scripting.

Thu Apr 27, 2017 4:06 pm

Note: for an updated version of this and other articles, we recommend you to check our knowledge base here

If you have many scripts, Device Mapper Scripts and Scripts Expression, your server will benefit greatly from enabling multi-threaded garbage collection. Experience from production servers shows that a report can be processed sometimes as much as 3 times faster with this option enabled.

Multi-threaded garbage collection is a new feature in .NET 4.5 and later. If you have not already upgraded your server to use .NET 4.6, do it now:

How to enable multi-threaded garbage collection

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

Code: Select all


  <!-- 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 takes full advantage of all CPU cores rather than just one as before.

GpsGate Support

Posts: 8
Joined: Wed Sep 17, 2014 12:35 am
Location: USA

Re: GUIDE: Speed up scripting.

Fri Feb 09, 2018 9:43 pm

Is there someway to know or test if this is working?

Return to “GpsGate Server - How to setup and use”