Change memory limit without reinstall

40 views
Skip to first unread message

Ian Yates

unread,
May 14, 2015, 8:29:47 PM5/14/15
to get...@googlegroups.com
Hi,

Just wondering if there's a way to change the memory limit of Seq without having to uninstall/reinstall the service.  Not a biggie, but it'd be great to be able to control it (is it part of the service config in the registry?) if necessary.  I suspect asking for Seq to change its memory limit whilst it's still running is a huge stretch :D

Use case: I had Seq on a client's server (that also runs our IIS-based web software and a background printing service) collecting some logs the other day and their IT guy said things were running slowly so he increased the dynamic memory limit on the VM.  Seq happily gobbled up more RAM and then I got a call saying "what's this seq.exe thing?".  It wasn't too hard to uninstall/reinstall the service of course but having a little bit more control, and easier control, over the RAM used would be handy in such situations.  Could we perhaps have a hard upper memory limit in megabytes in addition to the percentage-based limit?

Cheers,
Ian

nblum...@nblumhardt.com

unread,
May 17, 2015, 5:54:58 PM5/17/15
to get...@googlegroups.com, i...@medicalit.com.au
Hi Ian,

It can be done without an MSI reinstall - but the command to use is called 'install' so not sure how it suits your needs.

Still has to be done from an admin shell:

seq stop
seq uninstall
seq install --ram-target=50
seq start

Hope that helps, let me know if you need more details.

(Also, seq help install will let you know what else is available - names, paths, ports etc do need to be re-specified if you've customised them.)

Cheers,
Nick

Ian Yates

unread,
May 18, 2015, 6:46:14 PM5/18/15
to get...@googlegroups.com, i...@medicalit.com.au
Hi Nick,

Sorry, I wasn't at all clear.  That's what I was doing :P

The trick was that I had customised the path already.  I was showing someone else how to change the RAM limit by telling them what to type over their shoulder (more of a mouse user than a keyboard user too).  It just wasn't a great first exposure to Seq  ("trust me, just uninstall/reinstall this service and specify the RAM setting whilst also getting that path right.  The data should all be there when it comes back, I promise").

Very, very, very minor thing in the scheme of things :)

However, the hard RAM limit in MB rather than % would be handy to support in those cases where we have Seq sharing a VM that's got dynamic RAM enabled.  Is that something that might be considered for a distant future release? 

nblum...@nblumhardt.com

unread,
May 19, 2015, 5:16:26 PM5/19/15
to get...@googlegroups.com, i...@medicalit.com.au
Hi Ian - ah I see, thanks for the detail. Nothing quite like the experience of command-prompt-over-the-phone :-)

Yes, definitely something to consider in the future. Thanks for the feedback!
Reply all
Reply to author
Forward
0 new messages