I really really need a memory limitation option for Workflow so that I can have stable workflow servers. It wants to put everything that it might ever possible reference in memory. It is as if every bit it ever touches goes into memory and never comes out. Eventually it even steals memory away form the OS which causes a crash.
It often takes 2 years for this to happen on servers with extra memory, but it's still difficult to explain to IT, NO their server does not need unlimited memory to run Workflow, its just that workflow is infinitely greedy.
I mean I know it is being greedy and taking more than it requires to operate because I can watch it grow well into the GBs and then restart the service where it suddenly decides that it only need a few hundred MB to handle whatever is currently going on. Then it takes months or years to climb back into the GB range. That must mean it is storing data in memory that has not been touched in months or years, which is crazy since memory, being expensive, is only allocated for active working data. Sure you can cache some, but not everything. Otherwise why have hard disks at all?
It really doesn't matter though as long as I can give it an upper limit that is < the total amount of memory available to the OS, this way it does not shut down the OS.