We are experiencing what looks like a memory leak on our process using latest Compute on a AWS r5.large 16Go server.
We are sending a bunch of parameters to a big Grasshopper definition that produces geometries a few hundreds times a day, and we are observing the memory usage building up during the day (we restart the server every night) :
I think what you may need to do is to configure Recycling on your App Pool in the IIS Manager. You can read more about process recycling here. This is not setup as default in IIS, but I don’t think it should be too hard to configure. Simply open your IIS Manager and click on the Application Pool tree menu item on the left hand pane. From there, select the RhinoComputeAppPool and then find the button on the right that says Advanced Settings. At the bottom of this dialog, you should see a section which lets you configure the Recycling properties.