1

OS: Ubuntu

Is it possible to use mono-service with the sgen garbage collector? The normal garbage collector leaks all my memory until the end of the world comes. If I can't find a way to get sgen to work with mono-service I may just be stuck using a cron job instead.

James
  • 680
  • 2
  • 8
  • 22

1 Answers1

2

You can try to use the MONO_OPTIONS environment variable:

export MONO_OPTIONS=--gc=sgen
Mikhail Makarov
  • 648
  • 4
  • 6