AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Memory leak in most Delphi Versions

Ein Thema von Remko · begonnen am 1. Feb 2008 · letzter Beitrag vom 3. Feb 2008
Antwort Antwort
Benutzerbild von Remko
Remko

Registriert seit: 10. Okt 2006
Ort: 's-Hertogenbosch, Die Niederlande
222 Beiträge
 
RAD-Studio 2010 Arc
 
#1

Memory leak in most Delphi Versions

  Alt 1. Feb 2008, 22:20
There seems to be a memory leak in most Delphi versions when using resource (strings) for multiple languages. We discovered this while compiling the Jwscl (Jedi Security Library) where bds.exe leaks around 34 MB on every compile. I have already reported this in QC.

This issue is confirmed by several people now on the following Delphi versions:
D5
D7
D2007/RAD Studio 2007

The following versions are confirmed to not have this issue:
BDS 2006

I would like to ask the following:
If you have a Delphi version not listed above, could you please test and confirm in QC? I included a resource file in QC that can be used for testing. If you can reproduce this or think it requires Codegear's/Borlands attention please rate the issue in QC.

Thank you.
  Mit Zitat antworten Zitat
Benutzerbild von Dani
Dani

Registriert seit: 19. Jan 2003
732 Beiträge
 
Turbo Delphi für Win32
 
#2

Re: Memory leak in most Delphi Versions

  Alt 1. Feb 2008, 23:18
Zitat:
If you have a Delphi version not listed above, could you please test and confirm in QC? I
Edit: I need to spend more time reading the OP before hitting the reply button
Dani H.
At Least I Can Say I Tried
  Mit Zitat antworten Zitat
alzaimar
(Moderator)

Registriert seit: 6. Mai 2005
Ort: Berlin
4.956 Beiträge
 
Delphi 2007 Enterprise
 
#3

Re: Memory leak in most Delphi Versions

  Alt 2. Feb 2008, 06:59
Don't get me wrong, but I have to restart my Delphi version (D6, BDS 2006E) every 30 minutes or so anyway, so this does not really affect me.
"Wenn ist das Nunstruck git und Slotermeyer? Ja! Beiherhund das Oder die Flipperwaldt gersput!"
(Monty Python "Joke Warefare")
  Mit Zitat antworten Zitat
Benutzerbild von Remko
Remko

Registriert seit: 10. Okt 2006
Ort: 's-Hertogenbosch, Die Niederlande
222 Beiträge
 
RAD-Studio 2010 Arc
 
#4

Re: Memory leak in most Delphi Versions

  Alt 2. Feb 2008, 14:03
The only way to improve and to get bugs fixed is to report them in QC! THe more people rate issues and complain about them the higher chances are they get fixed!
  Mit Zitat antworten Zitat
Dezipaitor

Registriert seit: 14. Apr 2003
Ort: Stuttgart
1.701 Beiträge
 
Delphi 7 Professional
 
#5

Re: Memory leak in most Delphi Versions

  Alt 3. Feb 2008, 14:01
Zitat von alzaimar:
Don't get me wrong, but I have to restart my Delphi version (D6, BDS 2006E) every 30 minutes or so anyway, so this does not really affect me.
Erstelle ein Projekt mit der Resourcendatei und kompilieren das Projekt ungefähr 20-30mal. Das kriegst du in 5min hin und trotzdem wird dein Delphi danach nicht mehr weitermachen können. Völlig losgelöst von den 30min.
D.h. du bist auf jeden Fall trotzdem davon betroffen.

Je mehr Leute, den Bug melden, desto wahrscheinlicher wird er gefixt. Ich kann es nämlich garnicht glauben, dass dieser Bug schon seit sovielen Jahren existiert, ohne dass er aufgefallen ist.
Christian
Windows, Tokens, Access Control List, Dateisicherheit, Desktop, Vista Elevation?
Goto: JEDI API LIB & Windows Security Code Library (JWSCL)
  Mit Zitat antworten Zitat
Benutzerbild von Die Muhkuh
Die Muhkuh

Registriert seit: 21. Aug 2003
7.332 Beiträge
 
Delphi 2009 Professional
 
#6

Re: Memory leak in most Delphi Versions

  Alt 3. Feb 2008, 14:07
Wenn ich z.B. mit Turbo Delphi ein neues Projekt anlege und schreibt in die DPR

ReportMemoryLeaksOnShutdown := true und starte das Projekt, ohne irgendwelchen zusätzlichen Code, kommt beim Beenden eine Meldung, wegen eines MemoryLeaks.
  Mit Zitat antworten Zitat
alzaimar
(Moderator)

Registriert seit: 6. Mai 2005
Ort: Berlin
4.956 Beiträge
 
Delphi 2007 Enterprise
 
#7

Re: Memory leak in most Delphi Versions

  Alt 3. Feb 2008, 15:57
Zitat von Dezipaitor:
Zitat von alzaimar:
Don't get me wrong,...
Erstelle ein Projekt mit der Resourcendatei und kompilieren das Projekt ungefähr 20-30mal....
Du hast mein Post nicht verstanden. Ich wollte damit zum Ausdruck bringen, das Delphi/BDE sowieso instabil ist, da fällt das nicht ins Gewicht
"Wenn ist das Nunstruck git und Slotermeyer? Ja! Beiherhund das Oder die Flipperwaldt gersput!"
(Monty Python "Joke Warefare")
  Mit Zitat antworten Zitat
Dezipaitor

Registriert seit: 14. Apr 2003
Ort: Stuttgart
1.701 Beiträge
 
Delphi 7 Professional
 
#8

Re: Memory leak in most Delphi Versions

  Alt 3. Feb 2008, 16:06
Zitat von alzaimar:
Zitat von Dezipaitor:
Zitat von alzaimar:
Don't get me wrong,...
Erstelle ein Projekt mit der Resourcendatei und kompilieren das Projekt ungefähr 20-30mal....
Du hast mein Post nicht verstanden. Ich wollte damit zum Ausdruck bringen, das Delphi/BDE sowieso instabil ist, da fällt das nicht ins Gewicht
Hehe, das sowieso. Je mehr Plugins und Komponenten installiert sind, desto wahrscheinlicher. Aber mit Delph7 und den Updates fahre ich immernoch am besten. Besonders da mit Speedup die (Start-)Geschwindigkeit sehr erträglich ist.
Seit ich diese Resourcendatei erstellt habe, traten immer Speichermangelfehler in Delphi auf. Das war das größte Problem.
Christian
Windows, Tokens, Access Control List, Dateisicherheit, Desktop, Vista Elevation?
Goto: JEDI API LIB & Windows Security Code Library (JWSCL)
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:24 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz