in reply to Getting problem while downloading large file(1.9GB)

What does the error-log of the server say?

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

  • Comment on Re: Getting problem while downloading large file(1.9GB)

Replies are listed 'Best First'.
Re^2: Getting problem while downloading large file(1.9GB)
by sbhalgat (Initiate) on Jan 16, 2012 at 08:22 UTC
    Error log on server says

    Out of memory!
    Callback called exit.

      Well, that settles it then.

      You now have two options:

      1. Get more memory in the server; or
      2. Re-write your application so you do not need to have the wholehave less of the file in memory at the same time.
      Update: edited the above to make it more clear.

      CountZero

      A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

        Re-write your application so you do not need to have the whole file in memory at the same time.

        Great idea :) Too bad that is what the OP is asking help with (though without providing all required details)