How to Set a Memory Limit for Seq

A while ago we noticed a performance problem with Seq and the other applications that run on the same server. As it turned out, Seq allocated all the memory and left next to nothing for the other applications. A restart of Seq will only be a temporary solution, for a more durable one we need to restrict the memory consumption of Seq. Luckily, we can do that with a simple change in the configuration.

To limit Seq to less than 32GB RAM on Windows, we can use this command (run CMD as Administrator):

The value is in bytes, and you may need to adjust the amount to suit your system.

The new limit will only take effect after restarting Seq:

This solved our performance problem and since then our applications never run out of RAM.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.