English
Forum

structure Speicherverbrauch

 

Jörg
Sellmeyer
occupied a structure really already at define memory or first if I tappt im dunkeln with Dim one area zuweise?
I suspect time latter...

Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/01/06  
 



whom memory?
 
10/01/06  
 



...moreover have you got a Possibility forget - weder yet.

I take at times, the DIM the same does How GlobalAlloc. time here my Beobachtungen as not expert:
what GlobalAlloc particularly does, is a lever on a Speicherbereich To fetch. Virtueller memory can only Seitenweise allocated go. an Page is about 4kB big. becomes less memory needed as 4kB, would Yes unending memory verpulvert go (the can to hardship with TNT to check on).

at that virtual memory is it even so, the pages indeed reserved go can - d.h. the virtual memory the Prozesses is on this place occupied, it can but no data there stored go, there this memory keinem real memory zugeordnet is. becomes itself now memory for a variable gotten, becomes the Speichermanager well first time these Resources liquid make. As I said - be no expert.

i'd means time as vollkommener Nichtexperte say: whether what and what there happens, depends from the Gegebenheiten in the OS and in the Process ex.

Declare might really none spürbar something do - I faith, where the stattfindet, have I already with own eyes (and TNT) seen.
 
10/01/06  
 



to that Überprüfen of my allegations have I time subesquent View source written:
CompileMarkSeparation
Windowstyle 31
Windowtitle "Speicher bereitstellen"
Window 0,0-640,440
Declare var&
Waitinput
Print "Declare"
Declare Var#
Waitinput
Dim Var#,10000
LET VAR&=var#
Print "DIM"
PRINT var&
Waitinput
Dispose Var#
Print "Dispose"
10/01/06  
 




Jörg
Sellmeyer
means again:
becomes now here:
Struct Test = zahl&,Text$[1200]
already the area in the virtual or whatever memory occupied or first here?
Declare area#
Dim area#,Test

can I means as much as you want Structures define, without that itself on the of Program verwendeten memory auswirkt?
is More ne theoretical question, but without curiosity no experience...
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/01/06  
 



occupied is it Yes evtl. already. where possibly memory verpulvert becomes, say I you same again exactly - must time strain the OS change. usually but only DIM.
 
10/01/06  
 



OK, Have with Mwatch nachgesehen - if it spürbares happens, happens it with DIM and not Struct.
 
10/01/06  
 




RGH
[quote:2174947e07=Andreas Hötker]OK, Have with Mwatch nachgesehen - if it spürbares happens, happens it with DIM and not Struct.[/quote:2174947e07]
and this is too completely logical: an Strukturdefinition or a class is Yes first of all time only a Typdefinition, a Description one Type. naturally needed these Description a little Space in memory, but this is minimal.

first one DIM or NEW() bewirkt, that the suitable Memory-Variable WinXP? for structure or. the Objekt occupied. with DISPOSE becomes this memory again released.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
10/01/06  
 




Jörg
Sellmeyer
[quote:cb23a979c2=RGH][quote:cb23a979c2=Andreas Hötker]OK, Have with Mwatch nachgesehen - if it spürbares happens, happens it with DIM and not Struct.[/quote:cb23a979c2]
and this is too completely logical: an Strukturdefinition or a class is Yes first of all time only a Typdefinition, a Description one Type. naturally needed these Description a little Space in memory, but this is minimal.

first one DIM or NEW() bewirkt, that the suitable Memory-Variable WinXP? for structure or. the Objekt occupied. with DISPOSE becomes this memory again released.

Greeting
Roland[/quote:cb23a979c2]
very the wished I confirm having, thanks!
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/01/06  
 



As I said: whether at all something spürbares happens....
 
10/01/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

567 Views

Untitledvor 0 min.
RudiB.08/17/22
Christof Neuß10/11/11

Themeninformationen

this Topic has 3 subscriber:

unbekannt (6x)
Jörg Sellmeyer (3x)
RGH (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie