Einzelnen Beitrag anzeigen

Benutzerbild von TheMiller
TheMiller

Registriert seit: 19. Mai 2003
Ort: Gründau
2.480 Beiträge
 
Delphi XE7 Architect
 
#9

Re: Programm belegt immer mehr Speicher

  Alt 4. Jul 2007, 12:04
Hallo,

ich habe MemCheck eingebeunden. Er findet SpeicherLecks in FindUtils.pas und bricht dann mein ganzes Projekt ab. Ist das richtig? Es kommt eine AV, dann die Log-File von MemCheck und dann wird mein Programm beendet. Hier mal die Log:

Zitat:
MemCheck version 2.75

TOP 10 Leaks: begin
Leak #0 User allocated memory (GetMem)
Size: 100
1 Occurence
call stack - 0 : (no debug info) Find error: 0012F544
call stack - 1 : Module sysutils.pas Routine @Sysutils@Exception@CreateFmt Line 13258 Find error: 0040E799
call stack - 2 : Module sysutils.pas Routine CreateAVObject Line 13640 Find error: 0040EDB3
call stack - 3 : Module sysutils.pas(no debug info) Line 13654 Find error: 0040EEC1
call stack - 4 : Routine @System@@ExceptionHandler Find error: 004048EE
call stack - 5 : (no debug info) Find error: 77711007
call stack - 6 : (no debug info) Find error: 77710E93

Leak #1 User allocated memory (GetMem)
Size: 16
1 Occurence
call stack - 0 : (no debug info) Find error: 0012F6A4
call stack - 1 : Module sysutils.pas(no debug info) Line 13654 Find error: 0040EEC1
call stack - 2 : Routine @System@@ExceptionHandler Find error: 004048EE
call stack - 3 : (no debug info) Find error: 77711007
call stack - 4 : (no debug info) Find error: 77710E93

TOP 10 Leaks: end

Total leak: 116 bytes


*** MEMCHK: Blocks STILL allocated ***

Leak #0 User allocated memory (GetMem)
Size: 100
1 Occurence
call stack - 0 : (no debug info) Find error: 0012F544
call stack - 1 : Module sysutils.pas Routine @Sysutils@Exception@CreateFmt Line 13258 Find error: 0040E799
call stack - 2 : Module sysutils.pas Routine CreateAVObject Line 13640 Find error: 0040EDB3
call stack - 3 : Module sysutils.pas(no debug info) Line 13654 Find error: 0040EEC1
call stack - 4 : Routine @System@@ExceptionHandler Find error: 004048EE
call stack - 5 : (no debug info) Find error: 77711007
call stack - 6 : (no debug info) Find error: 77710E93

Leak #1 User allocated memory (GetMem)
Size: 16
1 Occurence
call stack - 0 : (no debug info) Find error: 0012F6A4
call stack - 1 : Module sysutils.pas(no debug info) Line 13654 Find error: 0040EEC1
call stack - 2 : Routine @System@@ExceptionHandler Find error: 004048EE
call stack - 3 : (no debug info) Find error: 77711007
call stack - 4 : (no debug info) Find error: 77710E93

*** MEMCHK: End of allocated blocks ***


*** MEMCHK: Chronological leak information ***

* User allocated memory (GetMem) (Leak #1) Size: 16
* User allocated memory (GetMem) (Leak #0) Size: 100

*** MEMCHK: End of chronological leak information ***


*** MEMCHK: Blocks written to after destruction ***

Bad blocks count: 0


*** MEMCHK: End of blocks written to after destruction ***
  Mit Zitat antworten Zitat