Recently I have faced an error "Memory model provider has been already disposed" while updating the model parameters. This error is usually occurred when build dependencies for the particular model is not updated.
For resolving this error follow below mention points:
1- Close visual studio.
2- Restart IIS server.
3- Perform full build. (First check if error is still occurred by doing above activity then run full build otherwise not).