Quote:
Originally Posted by RyDeR`
Still not sure how this uses the same amount of memory. Well if so, I guess there's an easy fix for that: just close the file when it's not used for like 30 seconds.
|
****** explained it very well.. But here is an easier example. If you want to read a text file (as a human), you have to open it, from the moment it is opened it is in the memory. Same happens when you try to read something in pawn. So.. From the moment you open the file (for your fseeking) it will be loaded into the memory. That you don't visually see it opening doesn't mean it doesn't take up the memory.
Closing it doesn't matter that much either.. You just don't use the memory than but you'll still need it when you actually use it. What is the point in the doing that?