Click here to Skip to main content
15,905,028 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralWindows Service Installation Pin
Sanjeev Kumar18-Jun-03 6:07
Sanjeev Kumar18-Jun-03 6:07 
GeneralRe: Windows Service Installation Pin
Sanjeev Kumar18-Jun-03 6:44
Sanjeev Kumar18-Jun-03 6:44 
GeneralRe: Windows Service Installation Pin
Burt Harris21-Jun-03 13:12
Burt Harris21-Jun-03 13:12 
GeneralAbsolute file paths for appSettings Pin
Ian Darling18-Jun-03 2:39
Ian Darling18-Jun-03 2:39 
GeneralRe: Absolute file paths for appSettings Pin
CBoland24-Jun-03 7:24
CBoland24-Jun-03 7:24 
GeneralUnable to open the remote windows service Pin
karthikv17-Jun-03 9:55
karthikv17-Jun-03 9:55 
QuestionIs it a new version of DLL hell? Pin
Oleksandr Kucherenko17-Jun-03 3:18
Oleksandr Kucherenko17-Jun-03 3:18 
GeneralRe: Is it a new version of DLL hell? Pin
Oleksandr Kucherenko17-Jun-03 4:56
Oleksandr Kucherenko17-Jun-03 4:56 
AnswerRe: Is it a new version of DLL hell? Pin
leppie17-Jun-03 9:15
leppie17-Jun-03 9:15 
GeneralRe: Is it a new version of DLL hell? Pin
Oleksandr Kucherenko17-Jun-03 21:06
Oleksandr Kucherenko17-Jun-03 21:06 
GeneralRe: Is it a new version of DLL hell? Pin
leppie18-Jun-03 7:09
leppie18-Jun-03 7:09 
GeneralObject Memory Space Pin
CBoland16-Jun-03 9:09
CBoland16-Jun-03 9:09 
GeneralRe: Object Memory Space Pin
Daniel Turini17-Jun-03 10:07
Daniel Turini17-Jun-03 10:07 
CBoland wrote:
Does anyone know what factors affect the memory size an object will consume by simply creating a new instance? I know that member-level value-types will consume memory respective of their data type (Int32 consumes 4 bytes, etc.). What about code? Does a class that contains no member variables, but 2000 lines of code consume any memory by simply instantiating a new one?
Generally, no. Since .NET is garbage collected, an instance of a class needs some information for garbage collection and Reflection. IIRC, any Object instance on .NET takes 16 bytes of memory. Another common source of "hidden" memory consumption on OOP environments are virtual methods.


ORACLE One Real A$#h%le Called Lary Ellison
GeneralRe: Object Memory Space Pin
Aravinthan25-Jun-03 3:31
Aravinthan25-Jun-03 3:31 
GeneralFORM VB 6 to VB.net Pin
Jonavis13-Jun-03 11:21
Jonavis13-Jun-03 11:21 
GeneralIL Optimization Pin
leppie13-Jun-03 10:02
leppie13-Jun-03 10:02 
GeneralRe: IL Optimization Pin
Daniel Turini13-Jun-03 10:22
Daniel Turini13-Jun-03 10:22 
GeneralRe: IL Optimization Pin
leppie13-Jun-03 10:38
leppie13-Jun-03 10:38 
GeneralRe: IL Optimization Pin
Daniel Turini13-Jun-03 10:53
Daniel Turini13-Jun-03 10:53 
GeneralRe: IL Optimization Pin
leppie13-Jun-03 11:08
leppie13-Jun-03 11:08 
GeneralRe: IL Optimization Pin
Daniel Turini13-Jun-03 11:32
Daniel Turini13-Jun-03 11:32 
GeneralRe: IL Optimization Pin
leppie13-Jun-03 12:04
leppie13-Jun-03 12:04 
GeneralIIS Permissions and .NET Framework Pin
Roger Wright13-Jun-03 8:47
professionalRoger Wright13-Jun-03 8:47 
Generalscrolling without a scrollbar Pin
mindfuck13-Jun-03 4:26
mindfuck13-Jun-03 4:26 
GeneralSystem.Windows.Forms.Panel AutoScroll Pin
Anonymous11-Jun-03 12:50
Anonymous11-Jun-03 12:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.