Results 1 to 15 of 15

Thread: [RESOLVED] Huge Files/Memory problem...

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member TupacShakur's Avatar
    Join Date
    Mar 2002
    Location
    Da Land Of Da Heartless...
    Posts
    493

    Resolved [RESOLVED] Huge Files/Memory problem...

    Hey all,
    this is my problem:

    I have a number (about a 100) of 5 MB's files, which are slices of one huge file. I need to put those slices together to get the original file, of around 500 MB's. Now in theory, i can do this, but when it comes to execution, it's causing a whole load of problems - system wise, crashes, freezing - due to the fact that at some point, i have the whole file loaded in memory (either a string variable or a string array). One additional thing is that i am using binary read/write access cause the file is not a text file (it may be a video, a data pack...).

    So what would you advise me to do?? And i am not til now fully understanding the binary access usage. I mean how can i write-append each slice after reading it into the target file, instead of building the whole file in memory??

    Thanks in avance to all u experts .
    Last edited by TupacShakur; Mar 19th, 2005 at 02:40 PM.
    "And Now I'm Lika Major Threat, Cause I Remind U Of The Things U Were Made To Forget!" - (2PAC)

    "Now They Label Me a Lunatic, Couldn't Care Less, Death or Success is What I Quest, Cause I'm Fearless!" - (2PAC)

    " There's a light at the end of every tunnel, just pray it's not a train!! "



    I am 100% addicted to Tupac. What about you?
    I am 24% addicted to Counterstrike. What about you?
    The #1 Tupac Fans Web Site | The Official Tupac Web Site

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width