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

  • Home
  • SEARCH
  • 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 8088697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T19:09:56+00:00 2026-06-05T19:09:56+00:00

I have a problem when downloading a large file (around 400mb) with a web

  • 0

I have a problem when downloading a large file (around 400mb) with a web service.
Today we have an asmx web service (using soap protocol) to get this file (returning a byte []) and a windows service using a reference of this web service to download the files. If the file has a large size, it consumes a lot of RAM MEMORY (almost all of the available computer memory).
I wanna know what is a better way to download a file by windows service, without consuming a lot of ram memory.

  • 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-05T19:09:58+00:00Added an answer on June 5, 2026 at 7:09 pm

    Depending on what your files are, you may get very good results with built-in compression to reduce the file size and, subsequently, your issue. Check the EnableDecompression property of the SoapHttpClientProtocol class, which you can subclass on your client and use the compression functionality offered by IIS. This approach could eliminate the need for any other modification. A few hundred megabytes should not be such a big deal, or does your app consume more?

    Edit: Upon reading your question more carefully, it occurs to me that you are looking for a different way to dl your files altogether. In that case, it would probably be the simplest approach to just expose the file via http/ftp and make your windows service download it with the WebClient class

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

Sidebar

Related Questions

I have a problem downloading particular file types by WebClient. So there are no
i have one simple problem with downloading eclipse java ide for web application.I have
I have a problem when i try to get the direct download link using
Many users of my site have reported problems downloading a large file (80 MB).
im having a problem when downloading a csv file using php, ideally i want
I have an iphone app which has an NSURLConnection downloading a large video file.
I have problem creating new instance of excel 2007 using VBA (from Access 2002).
I have been tasked with downloading around 100 million rows of data from Azure
I have the following problem: I have a local .zip file and a .zip
I really need your help since I have a frustrating problem. I'm downloading data

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.