Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

How to use the Job Queue to enable Server Side Printing to avoid the "out of memory exception" when running the Navision report?

Posted on by 140

We are new to Navision 2013, and my accountant need to run a big report but she get "system out of memory exception" , so I search the forum and someone suggest me to do the following:

"Use the Job Queue to enable Server Side Printing. What is Server Side Printing? It is simply running Report Viewer totally in the background through NAS Services (that is using Background Sessions through STARTSESSION AL statement)"

Can someone give a quick pointer where I can do this ?

Thanks you very much!

Connie from USAVision

*This post is locked for comments

  • Suggested answer
    Roberto Stefanetti Profile Picture
    Roberto Stefanetti 12,998 on at
    RE: How to use the Job Queue to enable Server Side Printing to avoid the "out of memory exception" when running the Navision report?

    hi,

    look at this post on Nav Team Blog about memory errors

    Memory usage in Microsoft Dynamics NAV 2013 print preview

    blogs.msdn.com/.../memory-usage-in-microsoft-dynamics-nav-2013-print-preview.aspx

    How to server side Printing (64 bit serve side Printing)

    Printing Reports from a Background Session

    msdn.microsoft.com/.../hh997063(v=nav.71).aspx

    STARTSESSION

    msdn.microsoft.com/.../hh166552(v=nav.71).aspx

    example in post;

    OK := STARTSESSION(SessionId, CODEUNIT::"Cache Stress Test", COMPANYNAME, CacheStressTestRec);

    IF OK THEN

     STOPSESSION(SessionId, 'Logoff cache stress test session')

    ELSE

     ERROR('The session was not started successfully.');

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

Featured topics

Product updates

Dynamics 365 release plans