Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6143757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:33:41+00:00 2026-05-23T18:33:41+00:00

We are trying to run a .NET 4 web application (on an 8 GB,

  • 0

We are trying to run a .NET 4 web application (on an 8 GB, 8 core Windows 2008 R2 64bit Webedition server) that creates Word mailmerge documents, using Spire.doc. Everything works fine up to around 5.000 records. If we try to merge more, physical as well as virtual memory both consume all they can, around 8 GB each.

Question: according to http://msdn.microsoft.com/en-us/library/aa366778%28v=vs.85%29.aspx#physical_memory_limits_windows_server_2008_r2, Windows 2008 R2 64bit would give you 32 GB.

So how can I make the application use more virtual memory?

Here’s the code, but I think the question is rather generic (and yes, creating Word documents with 10.000 pages may seem ridiculous, but this is what the customer desires, and yes, we will talk him out of it):

    private static void Merge(DataTable recipients, string template, string saveAs)
    {
        Document document = new Document();
        document.LoadFromFile(template);

        document.MailMerge.Execute(recipients);

        document.ViewSetup.DocumentViewType = DocumentViewType.PrintLayout;
        document.SaveToFile(saveAs, FileFormat.Doc);
    }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T18:33:42+00:00Added an answer on May 23, 2026 at 6:33 pm

    You could try to compile your web application in in x64 mode.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to run an ASP.NET MVC 2 web application under IIS on Windows
I am trying to design an ASP.net based mobile web application that should run
I'm trying to run a .NET web application through Mono. I'm using Mono Tools
I am trying to run my ASP.NET Web Application Project in my Local IIS
I am trying to run a .NET 4.0 Console application that references a sister
I'm trying to run a command via command prompt from an ASP.Net web application.
I have an asp.net web application that I made in Visual Studio 2008. Everything
I'm trying to run powershell commands through a web interface (ASP.NET/C#) in order to
Im trying to develop my first ASP.NET MVC web app and have run into
I'm trying to run an ASP.NET 2.0 application on an XP machine. As far

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.