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 8063657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:06:51+00:00 2026-06-05T11:06:51+00:00

I created a multithreaded service to perform image processing. Everything worked fine until one

  • 0

I created a multithreaded service to perform image processing. Everything worked fine until one of our clients installed the product in a 16 process server with lots of memory. Now the service throws lots of out of memory errors, which is understandable because processes can only get 1.5GB of memory regardless of how much is installed.

What is the accepted solution for this situation? Should this service instead spawn off a separate worker process? Should I have one worker process per CPU talking via named pipes to the main service?

EDIT we are running on a 64bit server, but can’t target x64 because of imaging libraries limitations

Thank you

  • 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-06-05T11:06:53+00:00Added an answer on June 5, 2026 at 11:06 am

    There are multiple solutions for this. These are some of the options:

    1. Link your .exe with /LARGEADDRESSAWARE option. That will give your app up to 3 Gig of RAM, and no other changes are required.
    2. Ask your software vendor who provided you with 32-bit binaries for 64 bit version.
    3. Move your 32-bit dependencies out-of proc (e.g communicating via COM or WCF), and change your EXE architecture to 64 bit.
    4. Spawn new processes for each execution action, rather than threads.
    5. Convert your code to use Address Windowing Extensions.

    Options #1 and #2 are the easiest to implement, #5 is most difficult.

    EDIT
    I noticed C# tag in your question. For managed apps you can still use Large Address Aware flag using EditBin.exe tool.

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

Sidebar

Related Questions

I've created a multi-threaded service that uses Castle Windsor to create components to run
Created .NET WCF service, tested it - works. Generated schemas from Data and service
I created a proxy of a Web Service with Visual Studio 2008, and it
Debugging a multithreaded app. I'm freezing threads as I see them created, but I
My application is using an image processing library to handle a long running task.
I created a Windows NT service, which exports a COM interface using ATL (out-of-proc
Situation: I have a multithreaded program written in C. If one of the threads
I'm working on a multithreaded wpf application. To perform globalization i tried to set
I'm using multithreaded wcf maxConcurrentCalls = 10. By logging calls to my service I
I created a multithreaded application in Qt (4.7.2). Only the main thread has an

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.