On Thu, 25 Aug 2005 22:37:27 +0200
Ger Remmers <[EMAIL PROTECTED]> wrote:
> On Thursday 25 August 2005 12:16, Mattias Gaertner wrote:
> [..]
> >
> > Filename: big.bmp
> > File size : 168.750.054
> > real 0m18.600s
> > user 0m11.521s
> > sys 0m1.611s
> >
> > Code:
> > bmp:=TBitmap.Create;
> > bmp.LoadFromFile('big.bmp');
> > bmp.Free;
>
> This is copied from the WIndows version
>
> If OpenDialog1.Execute then
> begin
> Image1.Picture.LoadFromFile(OpenDialog1.Filename);
> { ResetArray(1); }
> { ResetData; }
> end;
Same result:
real 0m18.576s
user 0m11.273s
sys 0m1.754s
> > Are you sure, that you have enough memory?
> 2Gb internal, 5Gb swap. That should be sufficient I assume
Yes. I have only 1GB.
This was tested under linux. If you are working under windows, maybe it is a
bug in the windows part of the LCL/FCL.
Can you start in gdb and break after 10, 20 and 60 seconds to see what it
does?
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives