Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Is the size of VMT of VCL Component related to the size of the .exe file?


This question is answered.


Permlink Replies: 1 - Last Post: Feb 6, 2016 12:22 PM Last Post By: Remy Lebeau (Te...
erchuan zhao

Posts: 17
Registered: 2/18/16
Is the size of VMT of VCL Component related to the size of the .exe file?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 5, 2016 7:41 PM
and is it related to runtime memory occupation of the program?
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Is the size of VMT of VCL Component related to the size of the .exefile?
Correct
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 6, 2016 12:22 PM   in response to: erchuan zhao in response to: erchuan zhao
erchuan wrote:

Is the size of VMT of VCL Component related to the size of the .exefile?

It contributes, yes. But there are other things that also contriibute to
the file size.

and is it related to runtime memory occupation of the program?

Not by much. A VMT is static. Multiple instances of the same class point
to a single shared VMT in memory.

--
Remy Lebeau (TeamB)
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02