web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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

I have the same question (0)
  • Martin Dráb Profile Picture
    237,976 Most Valuable Professional on at

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

  • Akbarpasha Profile Picture
    on at

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

  • Martin Dráb Profile Picture
    237,976 Most Valuable Professional on at

    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
    on at

    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans