Martin schrieb:
Threading may archive a speed up here. Because simple you have more CPU power at hand. And most OS will be able to supply files faster if requested in parallel.
I doubt that, because concurrent file reads tend to increase disk seeks.
I know for fact that the synedits get destroyed. At least last time I worked on it, the did get destroyed, so unless there is a real huge new bug....
The source files may be needed for other purposes, so that they stay in the file pool.
If the SynEdits get destroyed, then the textbuffers get destroyed too, including the strings containing the text (one string per line, and I am pretty sure no other part of the IDE has a ref count on any of them.)
Hmmm.
So the memory is probably available, but due to fragmentation, and small pieces still being allocated, it can't be returned to the OS.
Why return memory to a nowadays system? DoDi -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
