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?
- Re: [ADVANCED-DOTNET] Object Memory Space Craig Boland
- Re: [ADVANCED-DOTNET] Object Memory Space Ivan Towlson
- Re: [ADVANCED-DOTNET] Object Memory Space Ted Neward
- Re: [ADVANCED-DOTNET] Object Memory Space Griffiths, Ian
- Re: [ADVANCED-DOTNET] Object Memory Space Ivan Towlson