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 :
Microsoft Dynamics NAV (Archived)

System.OutOfMemory Exception - Web Services NAV 2009 R2

(0) ShareShare
ReportReport
Posted on by 20

We are using NAV Web Services to export a large dataset. This service exposes an XMLPort which contains 7 elements.

The dataset comprises of 350,000 records and when exporting this out via the client creates a file of about 140MB.

Recently when calling this it has caused the NAV server service to crash with a System.OutOfMemory exception. The server that this runs on has plenty of resources, but I am lead to believe that the OutOfMemory exception is not always related to physical resources anyway.

Has anyone else had this issue?

Could it be related to the large dataset that is trying to be sent via the SOAP message?

Any suggestions gratefully received.

Thanks.

Pf79

*This post is locked for comments

I have the same question (0)
  • Verified answer
    pf79 Profile Picture
    20 on at

    I have now fixed this issue.

    Turns out that the server infrastructure was only a 32bit instance of server 2008. When the export was called the service wanted to consume more than 1.3GB of RAM, which the OS would not allow.

    Made a change to the server to allow services to consume more than this limit on RAM.

    All working now,

    Pf79

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 > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans