Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

Object Server 01: System.Threading.ThreadStartException: Thread failed to start. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

Posted on by

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

  • Akbarpasha Profile Picture
    Akbarpasha on at
    RE: Object Server 01: System.Threading.ThreadStartException: Thread failed to start. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

    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

  • Martin Dráb Profile Picture
    Martin Dráb 230,149 Most Valuable Professional on at
    RE: Object Server 01: System.Threading.ThreadStartException: Thread failed to start. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

    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.

  • Akbarpasha Profile Picture
    Akbarpasha on at
    RE: Object Server 01: System.Threading.ThreadStartException: Thread failed to start. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

    Thank you Martin for the info, do we need to increase the RAM memory to avoid this issue.

  • Martin Dráb Profile Picture
    Martin Dráb 230,149 Most Valuable Professional on at
    RE: Object Server 01: System.Threading.ThreadStartException: Thread failed to start. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

    OutOfMemoryException is about operation memory (RAM), not about disk space.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans