Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

NAV is Running Out of System Resources

Posted on by 2

I have one user who repeatedly gets the following message after a few hours and goes away upon restarting the NAV rtc client. Nobody else gets this error message, the database isn't close to being full, memory on the server is good. 

4380.error.jpg

*This post is locked for comments

  • rlhudson2323 Profile Picture
    rlhudson2323 14 on at
    NAV is Running Out of System Resources
    We are seeing this type of error and this is the event log from one of the crashes. It is a Windows 11 machine with the latest updates. 
    I have re-rinstalled NAV as well. 

    Faulting application name: Microsoft.Dynamics.Nav.Client.x86.exe, version: 14.0.46844.0, time stamp: 0xb16551b8
    Faulting module name: KERNELBASE.dll, version: 10.0.22621.2792, time stamp: 0x8c08763d
    Exception code: 0xe0434352
    Fault offset: 0x00149392
    Faulting process id: 0x0xF6C
    Faulting application start time: 0x0x1DA29159B082C9D
    Faulting application path: C:\Program Files (x86)\Microsoft Dynamics 365 Business Central\140\RoleTailored Client\Microsoft.Dynamics.Nav.Client.x86.exe
    Faulting module path: C:\Windows\System32\KERNELBASE.dll
    Report Id: ffa6c6ff-364a-472c-b51b-7231ea9a8571
    Faulting package full name: 
    Faulting package-relative application ID: 
     
    ---------------
    Application: Microsoft.Dynamics.Nav.Client.x86.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.OutOfMemoryException
       at System.Reflection.AssemblyName.nGetFileInformation(System.String)
       at System.Reflection.AssemblyName.GetAssemblyName(System.String)
       at Microsoft.Dynamics.Framework.UI.Windows.ControlAddInLocator.Find(System.String, Boolean, Boolean, Boolean, Boolean)
       at Microsoft.Dynamics.Framework.UI.WinForms.ControlAddInAdapter.TryGetAddInFromAssemblies(System.String, Microsoft.Dynamics.Framework.UI.Windows.ControlAddInLocator, System.String ByRef, System.Type ByRef)
       at Microsoft.Dynamics.Framework.UI.WinForms.ControlAddInAdapter.TryToFindControlAddIn(System.String, System.String ByRef, System.Type ByRef)
       at Microsoft.Dynamics.Framework.UI.WinForms.ControlAddInAdapter.TryInitControlAddIn(System.String, System.String ByRef)
       at Microsoft.Dynamics.Framework.UI.WinForms.ControlAddInAdapter.OnCreateControls()
       at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.Build(Boolean)
       at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.Build(Boolean)
       at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.Build(Boolean)
       at Microsoft.Dynamics.Framework.UI.WinForms.FormHostControlAdapterBase.CreateHostedForm()
       at Microsoft.Dynamics.Framework.UI.WinForms.FormHostControlAdapterBase.InitializeNativeControl(System.Object)
       at Microsoft.Dynamics.Framework.UI.WinForms.FormHostControlAdapter.InitializeNativeControl(System.Object)
       at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.get_NativeControl()
       at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.Build(Boolean)
       at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.Build(Boolean)
       at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.Build(Boolean)
       at Microsoft.Dynamics.Framework.UI.WinForms.FormHostControlAdapterBase.CreateHostedForm()
       at Microsoft.Dynamics.Framework.UI.WinForms.EmbeddedFormHostControlAdapter.CreateNativeControl()
       at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.get_NativeControl()
       at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.Build(Boolean)
       at Microsoft.Dynamics.Framework.UI.WinForms.EmbeddedFormHostControlAdapter.Build(Boolean)
       at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.Rebuild(Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter)
       at Microsoft.Dynamics.Framework.UI.WinForms.LogicalFormAdapter.Rebuild(Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter)
       at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.Rebuild()
       at Microsoft.Dynamics.Framework.UI.WinForms.EmbeddedFormHostControlAdapter.RebuildFormHost()
       at Microsoft.Dynamics.Framework.UI.WinForms.FormHostControlAdapterBase.HandleFormHost()
       at Microsoft.Dynamics.Framework.UI.WinForms.EmbeddedFormHostControlAdapter.HandleFormHost()
       at Microsoft.Dynamics.Framework.UI.WinForms.FormHostControlAdapterBase.OnPropertyChangedInternal(System.ComponentModel.PropertyChangedEventArgs, System.ComponentModel.CancelEventArgs)
       at Microsoft.Dynamics.Framework.UI.WinForms.FormHostControlAdapterBase.OnPropertyChanged(System.Object, System.ComponentModel.PropertyChangedEventArgs, System.ComponentModel.CancelEventArgs)
       at Microsoft.Dynamics.Framework.UI.Windows.LogicalControlAdapter.PropertyChanged(System.Object, System.ComponentModel.PropertyChangedEventArgs)
       at System.ComponentModel.PropertyChangedEventHandler.Invoke(System.Object, System.ComponentModel.PropertyChangedEventArgs)
       at Microsoft.Dynamics.Framework.UI.LogicalControl.OnPropertyChanged(System.ComponentModel.PropertyChangedEventArgs)
       at Microsoft.Dynamics.Framework.UI.FormHostControl.OnPropertyChanged(System.ComponentModel.PropertyChangedEventArgs)
       at Microsoft.Dynamics.Framework.UI.FormHostControl.SetHostedForm(Microsoft.Dynamics.Framework.UI.LogicalForm, Boolean)
       at Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.OpenEmbeddedForm(Microsoft.Dynamics.Framework.UI.LogicalForm)
       at Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.OpenEmbeddedForm(System.String)
       at Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.OpenEmbeddedForm(System.String, Microsoft.Dynamics.Framework.UI.NavigationNode)
       at Microsoft.Dynamics.Framework.UI.UX2006.NavigateToFormAction.InvokeCore(Microsoft.Dynamics.Framework.UI.LogicalControl, System.Object, Microsoft.Dynamics.Framework.UI.UISession)
       at Microsoft.Dynamics.Nav.Client.Actions.NavNavigateToFormAction.InvokeCore(Microsoft.Dynamics.Framework.UI.LogicalControl, System.Object, Microsoft.Dynamics.Framework.UI.UISession)
       at Microsoft.Dynamics.Framework.UI.LogicalAction.InvokeCoreWithErrorHandling(Microsoft.Dynamics.Framework.UI.LogicalControl, System.Object, Microsoft.Dynamics.Framework.UI.UISession)
       at Microsoft.Dynamics.Framework.UI.LogicalAction.DoInvoke(Microsoft.Dynamics.Framework.UI.LogicalControl, System.Collections.IDictionary, Microsoft.Dynamics.Framework.UI.UISession)
       at Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.NavigateToNode(Microsoft.Dynamics.Framework.UI.LogicalControl, Microsoft.Dynamics.Framework.UI.NavigationNode)
       at Microsoft.Dynamics.Framework.UI.UX2006.NavigationPaneLogicalControl.OnNavigate(Microsoft.Dynamics.Framework.UI.NavigationEventArgs)
       at Microsoft.Dynamics.Framework.UI.NavigationControlBase.Navigate(System.Object)
       at Microsoft.Dynamics.Framework.UI.WinForms.NavigationPaneControlAdapter.navigationPaneBarNavigate(System.Object, Microsoft.Dynamics.Framework.UI.NavigationPaneNavigateEventArgs)
       at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeTab.OnNavigate(Microsoft.Dynamics.Framework.UI.NavigationPaneNavigateEventArgs)
       at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeTab.treeView_Navigate(System.Object, Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationNodeEventArgs)
       at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.OnNodeSelected(Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationNodeEventArgs)
       at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.navTreeNode_Selected(System.Object, System.EventArgs)
       at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView+NavTreeNode.OnSelected(System.EventArgs)
       at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView+NavTreeNode.OnClicked(Microsoft.Dynamics.Framework.UI.WinForms.Controls.MouseLocationEventArgs)
       at Microsoft.Dynamics.Framework.UI.WinForms.Controls.NavigationPaneTreeView.WndProc(System.Windows.Forms.Message ByRef)
       at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
       at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)

    Exception Info: System.OutOfMemoryException
       at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler+<>c__DisplayClass11_0.<DoRethrowWithCatchException>b__0()
       at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(System.Func`1<Int32>)
       at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(System.Func`1<Int32>)
       at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(System.Exception, Boolean)
       at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoHandleThreadException(System.Exception, Boolean)
       at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.WinFormsDispatcherUnhandledException(System.Object, Microsoft.Dynamics.Framework.UI.DispatcherUnhandledExceptionEventArgs)
       at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.HandleDispatcherException(System.Object, System.Exception)
       at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.OnThreadException(System.Object, System.Threading.ThreadExceptionEventArgs)
       at System.Windows.Forms.Application+ThreadContext.OnThreadException(System.Exception)
       at System.Windows.Forms.Control.WndProcException(System.Exception)
       at System.Windows.Forms.Control+ControlNativeWindow.OnThreadException(System.Exception)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
       at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
       at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
       at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
       at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunMessagePump()
       at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()
       at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.Run()
       at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(System.Func`1<Int32>)
       at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(System.Func`1<Int32>)
       at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunCore()
       at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.Run(Boolean)
       at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.RunAndDispose()
       at Microsoft.Dynamics.Nav.Client.Program.ExecuteNormally(System.Func`1<Int32>)
       at Microsoft.Dynamics.Nav.Client.Program.Main(System.String[])
  • Fip.Christian Profile Picture
    Fip.Christian 25 on at
    RE: NAV is Running Out of System Resources

    We got the newest version of Continia and that fixed it for us. They were aware of the error unofficially

  • Bdaggy Profile Picture
    Bdaggy 10 on at
    RE: NAV is Running Out of System Resources

    What was this update and did it apply to 2018 NAV?  I am running into the same issue with 2 of my users.

  • Fip.Christian Profile Picture
    Fip.Christian 25 on at
    RE: NAV is Running Out of System Resources

    Thank you, we got an update from Continia and that fixed everything

  • cornelismol Profile Picture
    cornelismol 5 on at
    RE: NAV is Running Out of System Resources

    Hi Christian,

    Just stumbled on your remark while searching for an other issue, but did you know that in Document Capture 5.50 and onwards, an issue with the system resources is addressed? This happened with the drag and drop factbox and a counter which went crazy.

    Not sure this was/is the case with you but i thought i'd mention it to yu. have a nice day!  

  • Fip.Christian Profile Picture
    Fip.Christian 25 on at
    RE: NAV is Running Out of System Resources

    We have the same problem running on NAV 2017 version 10.0.22286.0. We have checked the server power and we use less then 40%. We have checked the client machine it uses less then 20%. We have disables AV from checking NAV service. We have raised the allowed memory for NAV by a lot (within their guidelines)

    Most of the users we have that experience the problems are working with Document Capture and “bigger” files then other users. Over a day they run out of resources 3-5 times. Close NAV start again and continue.

    We have had our hosting partners involved and several NAV partners to look at this and no one knows where to look now.

  • Verified answer
    Erik Hougaard Profile Picture
    Erik Hougaard 177 on at
    RE: NAV is Running Out of System Resources

    It is the client, not the server, that provokes the error. If you are adventurous you could fire up SysInternals Process Explorer and look at handles and resources of the nav.client.exe process.

    My guess is that that PC has a anti-virus, monitoring,  something-in-the-background program that probes all the running processes, and thereby creating handles that does not get released again..

  • mmv Profile Picture
    mmv 11,465 on at
    RE: NAV is Running Out of System Resources

    Hi Edward,

    As I can see from the screen, the issue has happened when the user is on the Item Card.   Could you check whether it happens only when the user opens Item Card?  If it happens on all pages, you may try installing the client using the installable which has used on other user's machine or use the latest build.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans