Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi Wo ist der Speicherüberlauf?? (https://www.delphipraxis.net/103851-wo-ist-der-speicherueberlauf.html)

Muetze1 23. Nov 2007 16:05

Re: Wo ist der Speicherüberlauf??
 
Zitat:

Zitat von rollstuhlfahrer
mal ne ganz dumme frage: wie installiere ich fastMM?

Im Delphi Projekt (.DPR) als aller erste Unit in der uses Liste eintragen.

rollstuhlfahrer 23. Nov 2007 18:27

Re: Wo ist der Speicherüberlauf??
 
FastMM meldet:
"This application has leked memory. The small blocks are (excluding expected leaks registered by pionter):"

Zitat:

13 - 20 bytes: TMemoryStream x 6, EOutOfResources x 6
21 - 28 bytes: TBrush x 77, TPen x 77, TCriticalSection x 1
29 - 36 bytes: TFont x 77, Unknown x 2
53 - 60 bytes: TBitmap x 83, Unknown x 1
61 - 68 bytes: Unknown x 6
93 - 100 bytes: TBitmapCanvas x 77
109 - 116 bytes: TBitmapImage x 83
ich befürchte ich hab in Post #1 richtig getippt.

rollstuhlfahrer

rollstuhlfahrer 23. Nov 2007 19:43

Re: Wo ist der Speicherüberlauf??
 
Problem hat sich gelöst:
Delphi-Quellcode:
// MS.Free; <- das darf nicht aufgerufen werden
Bild.Free; //<- Programm braucht nun nur noch zwischen 2,1 und 8 MB Arbeitsspeicher. ich bin zu frieden
rollstuhlfahrer


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:08 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz