| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Would it be possible that many many calls to readln(myFILE, myString) would cause a memory leak? The file is closed other objects are closed, still I loose memory in a function. I have found this on D2 that could be it, testing some things now. http://groups.google.nl/group/comp.l...e87a8c1b5629c1 <<< I discovered that my problem was due to using a string in the readln function. I don't know why (I'm now using an fixed lenght arrays), but I believe it has something to do with unix files not using normal (dos?) EOL char sequences. Readln seems unable to handle unix files properly >>> But that's in D2, I presume that would be fixed in D5. Anyone an idea? |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.