NServiceBus.Gateway 3.0.2, 2.0.3 - Patch releases available

Hi everyone,

We’ve just released NServiceBus.Gateway 3.0.2, and 2.0.3.

This patch release fixes an issue that causes excessive memory allocations during connectivity problems between Gateways. In case of very unreliable connections the additional allocations can lead to delays in message delivery or even process crashes due to OutOfMemoryException.

There is no danger of message loss.

Note: The bug also occurs in Gateway 1.x, but this package is out of mainstream support. The workaround is to upgrade the Gateway to 2.x or newer. If upgrading is not possible, contact Particular about extended support.

Fixed bugs

  • #125 No disposing of response in case of WebException

How to know if you are affected

All gateway users are affected but the problem mainly occurs if the network connection is unreliable.


  • The process consumes large amounts of RAM (250MB+)
  • Message processing slows down
  • OutOfMemoryExceptions are experienced
  • Message delivery on gateway channels experiences unexplainable delays

Should you upgrade immediately

Upgrade immediately if you noticed above symptoms. Otherwise, upgrade during the next maintenance window.

Where to get it

You can download the updated version directly from NuGet: https://www.nuget.org/packages/NServiceBus.Gateway/

With thanks,
The team in Particular

Please read our release policy for more details. Follow @ParticularNews to be notified of new releases and bug fixes.