On Sun, 21 Jan 2007 12:19:28 +0100
bobby <[EMAIL PROTECTED]> wrote:
>
> >
> > About: Who wants to see 30.000 lines?
> > Answer: No one. But compiling a quickly ported Delphi lib creates
> > ...
> Unfortunately, I use even more lines in StringGrid.
> Loading 50mb CSV file (200.000 rows with 7 columns) in StringGrid
> will take more than 400mb of RAM on WindowsXP.
> Somebody mentioned virtual StringGrid, I would be thankful if
> somebody can give me an example of working with virtual components.
Actually a VirtualTreeView should need more memory than a TStringGrid
(about 3 times).
A TStringGrid with 200.000 x 7 cells need 30mb, not 400mb.
I guess, something else of your program is wasting the memory.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives