Hi All,
Getting the below error and batch jobs are running for long time,
Please advice how we can resolve the below issue. C drive is having enough memory on the AOS server where the batch job is running.
"Object Server 01: System.Threading.ThreadStartException: Thread failed to start. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
--- End of inner exception stack trace ---
at System.Threading.Thread.StartInternal(IPrincipal principal, StackCrawlMark& stackMark)
at System.Threading.Thread.Start(Object parameter)
at BatchIL.startTask()
at BatchIL.CheckBatchJobs()
at BatchIL.threadFunc(Object threadArg)"
Regards,
Akbar
Thank you Martin,
Where we can find the memory for an individual process, is it setup in AX application or server?
Please let us know.
Regards,
Akbar
It's impossible for me to say.
You can check if the server has free memory or not. Note that it may be about a lack of memory for an individual process, even if the machine still has RAM available. It could also be caused by a code defect and adding more RAM obviously wouldn't fix the code.
Thank you Martin for the info, do we need to increase the RAM memory to avoid this issue.
OutOfMemoryException is about operation memory (RAM), not about disk space.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156