in reply to Re^4: Getting problem while downloading large file(1.9GB)
in thread Getting problem while downloading large file(1.9GB)

Not at all.

The OP asked:

Can you please help me to find out why it is not working?

He answered that himself ("Out of memory") in his reply to my post. Then I gave him two possible solutions. Maybe he will come back and ask how to rewrite his script. We will deal with the questions when they arrive. The OP may very well be able to solve his problem himself now that he knows the cause and it would be presumptuous of us to assume he cannot do that.

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^5: Getting problem while downloading large file(1.9GB)

Replies are listed 'Best First'.
Re^6: Getting problem while downloading large file(1.9GB)
by Anonymous Monk on Jan 16, 2012 at 14:49 UTC

    LOL, so all OP has to do is fix it, brilliant!

    Its not as if the OP was trying to have less of the file in memory at the same time and failing

    I do assume you don't know how to fix it

      For lack of sufficient information, indeed, I cannot give a working solution.

      Of course, nothing stops you from showing your superior Perl knowledge and bestowing the benefit of your psychic abilities in pulling the needed information out of thin air, to us all.

      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

        For lack of sufficient information, indeed, I cannot give a working solution.

        Of course, nothing stops you from showing your superior Perl knowledge and bestowing the benefit of your psychic abilities in pulling the needed information out of thin air, to us all.

        LOL

        Sure you can. I already did in Re: Getting problem while downloading large file(1.9GB) and Re^3: Getting problem while downloading large file(1.9GB)

        I suspect the problem is %flags and %init, but I don't have a mason server handy to test, I leave that up to the OP

        My psychic abilities tell me you've never programmed with mason, so you have nothing specific to contribute