Autor Beitrag
delvieh
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 46

WinXP, Win98
D4 Standard, D7 Personal
BeitragVerfasst: Di 07.02.06 11:46 
Hi,

nun habe ich viele Tge damit verbracht um mein Programm fertig zu stellen, nun mache ich nen Test unter Win98SE und stelle fest das es ca. 30% der gesamten Systemresourcen frist.

Welches Komponenten sind die Fresser?
Ich habe ca. 30 Button, 30 Panel, 10 TRichEdits, und nen paar Bitmaps.

Was genau sind die System, User und GDI Ressourcen?

Gruß Frank
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Di 07.02.06 11:50 
Was ist das für ein Programm und was machst es genau?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Amiga-Fan
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 534



BeitragVerfasst: Di 07.02.06 11:58 
Entschuldige bitte, aber den Ausgangspost kann man nicht wirklich ernst nehmen.

Details, Mann!
Und an ein paar Buttons oder Panels wird es nicht liegen.

_________________
- Leg dich nie mit einem Berufsprogrammierer an
- Wahre Profis akzeptieren keine einfachen Lösungen
delvieh Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 46

WinXP, Win98
D4 Standard, D7 Personal
BeitragVerfasst: Di 07.02.06 12:16 
user profile iconAmiga-Fan hat folgendes geschrieben:
Entschuldige bitte, aber den Ausgangspost kann man nicht wirklich ernst nehmen.

Details, Mann!
Und an ein paar Buttons oder Panels wird es nicht liegen.


Huch das ist doch freundlich... ;)

Zu den Details, ein Programm das empfangende Zeichen von der RS-232 in die Richedits einträgt.
Nichts aufregendes würde ich sagen.

Die Schnittstelle ist noch geschlossen sodas dieser Thread nicht aktiv ist.

KAnn es daran liegen das ich alle zusätzlichen Fenster, Konfiguration, verschiedene Info Fenster gleich beim Start mit anzeige sie aber eigendlich nur zum Aufruf benötige? (ca. 15 weitere kleine Formulare)

Gruß Frank.
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Di 07.02.06 12:50 
user profile icondelvieh hat folgendes geschrieben:

KAnn es daran liegen das ich alle zusätzlichen Fenster, Konfiguration, verschiedene Info Fenster gleich beim Start mit anzeige sie aber eigendlich nur zum Aufruf benötige? (ca. 15 weitere kleine Formulare)
Gruß Frank.


Warum zeigst du sie beim Start an? Meinst du, dass sie gleich beim Start 'created' werden?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
delvieh Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 46

WinXP, Win98
D4 Standard, D7 Personal
BeitragVerfasst: Di 07.02.06 14:03 
Ja genau, sie werden alle bei Programmstart erstellt.
Also unter "Projekt > Optionen" sind alle unter Automatisch erstellen eingetragen.

Wenn sie benötigt werden, mach ich nur frmInfo.Show, bzw. frmEdit.ShowModal.

Ich denke das die sinnlos im Speicher liegen und das der Grund dafür ist das es Win98 an "den Kragen" geht. :(
auf WinXP bisher keine Probleme gehabt.
Wie bekommt man denn heraus wieviel Speicher das eigene Programm belegt?

Wie würde man es machen, wenn man die Formulare erst kurz vor dem Anzeigen erstellt?

Gruß Frank
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Di 07.02.06 14:22 
user profile icondelvieh hat folgendes geschrieben:

Ich denke das die sinnlos im Speicher liegen und das der Grund dafür ist das es Win98 an "den Kragen" geht. :(


Ich glaube auch, dass es daran liegt.

user profile icondelvieh hat folgendes geschrieben:

Wie bekommt man denn heraus wieviel Speicher das eigene Programm belegt?


Bei Win98? :gruebel: Maybe den ProcessExplorer von www.sysinternals.com benutzen. Keine Ahnung. Aber lass doch das Prog unter XP laufen und guck da im Task-Manager nach.

user profile icondelvieh hat folgendes geschrieben:

Wie würde man es machen, wenn man die Formulare erst kurz vor dem Anzeigen erstellt?


Irgendwas mit frmInfo.create(???) --> ich weiß nicht, was in die Klammer soll: (AOwner:Tcomponent) --> Was isn das?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot