Skip to main content

Notifications

Announcements

No record found.

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.

(0) ShareShare
ReportReport
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,433 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,433 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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,433 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans