& Construction

Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing

Professional CAD/CAM tools built on Inventor and AutoCAD
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
Professional CAD/CAM tools built on Inventor and AutoCAD
Autodesk Support
Jan 3, 2025
Products and versions covered
Intermittent failures when connecting to host server or when accessing Revit Server Administrator.
Time: M/DD/YYYY HH:MM:SS:SSS Calling: ListSubFoldersAndModels
' 0:< Retry Count: 0 . Caught exception:
' 0:< Autodesk.RevitServer.Enterprise.Common.ClientServer.Helper.Exceptions.ProxyGenerationException: A problem occurred generating a proxy for the client action, Client Action = BasicAction, Target Node = REVITSERVER, Binding Name = tcpbuffer
' 0:< System.ServiceModel.ServiceActivationException: The requested service, 'net.tcp://revitserver/ModelService2020/ModelService.svc/tcpbuffer' could not be activated. See the server's diagnostic trace logs for more information.
' 0:< Time: M/DD/YYYY HH:MM:SS:SSS Calling: ListSubFoldersAndModels
' 0:< Retry Count: 1 . Caught exception:
YYYY-MM-DD HH:MM:SS,SSS INFO TID(49) LOGGER(ServerLogger) MSG(BlockEnd: ModelServiceImplementation.ListSubFoldersAndModels)
YYYY-MM-DD HH:MM:SS,SSS INFO TID(246) LOGGE-26 08R(ServerLogger) MSG(BlockStart: ModelServiceImplementation.IsHostNode)
Memory gates checking failed because the free memory (######## bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InsufficientMemoryException: Memory gates checking failed because the free memory (######## bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InsufficientMemoryException: Memory gates checking failed because the free memory (######## bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.]
System.ServiceModel.Activation.ServiceMemoryGates.Check(Int32 minFreeMemoryPercentage, Boolean throwOnLowMemory, UInt64& availableMemoryBytes) +121924
System.ServiceModel.HostingManager.CheckMemoryCloseIdleServices(EventTraceActivity eventTraceActivity) +86
System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +883
[ServiceActivationException: The service '/ModelService2015/ModelService.svc' cannot be activated due to an exception during compilation. The exception message is: Memory gates checking failed because the free memory (######## bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element..]
System.Runtime.AsyncResult.End(IAsyncResult result) +645492
System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity) +232149
System.ServiceModel.Channels.SharedTcpTransportManager.OnDuplicatedVia(Uri via) +65
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +210765
System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +166
Free up the system memory or stop services which are utilizing all/most of the system memory.
Add more memory to the Revit Server.
For more articles on this error, see the following article "This operation could not be completed. Please try again" when working in Revit Server
Was this information helpful?
The Assistant can help you find answers or contact an agent.
What level of support do you have?
Different subscription plans provide distinct categories of support. Find out the level of support for your plan.
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved