Click here to Skip to main content
15,905,607 members
Home / Discussions / C#
   

C#

 
GeneralRe: Microsoft wrote : filters property pages Pin
Heath Stewart7-Jul-04 5:23
protectorHeath Stewart7-Jul-04 5:23 
QuestionHow to Prevent decompile or dis-assembly c# project (.NET)? Pin
Anonymous6-Jul-04 20:07
Anonymous6-Jul-04 20:07 
AnswerRe: How to Prevent decompile or dis-assembly c# project (.NET)? Pin
Colin Angus Mackay7-Jul-04 0:24
Colin Angus Mackay7-Jul-04 0:24 
GeneralRe: How to Prevent decompile or dis-assembly c# project (.NET)? Pin
Heath Stewart7-Jul-04 5:17
protectorHeath Stewart7-Jul-04 5:17 
Answernot only you that face this problem :) Pin
Hesham Amin7-Jul-04 4:18
Hesham Amin7-Jul-04 4:18 
GeneralMemory usage of 1 form Pin
dev1t6-Jul-04 17:25
dev1t6-Jul-04 17:25 
GeneralRe: Memory usage of 1 form Pin
insurgentpyro6-Jul-04 18:57
insurgentpyro6-Jul-04 18:57 
GeneralRe: Memory usage of 1 form Pin
dev1t7-Jul-04 3:01
dev1t7-Jul-04 3:01 
I have winXP and 512MB ram running @ 2ghz. However, none of that is relevant. And I completely disagree with you that a one form executable with no controls on it should be using 8MB or RAM.

I compiled the same type of project using Managed C++ and had the same result for mamory usage. however if you run notepad.exe or calc.exe you will see they both use between 1.4 and 1.9 MB each and they both have controls as well as a decent amount of code behind them.

I don't want to start an argument of whether or not an exe would scale at the rate of 8MB per form loaded into memory, but I would like to know if someone know of a way to optimize the memory usage.

Thanks,
Ray

insurgentpyro,
Not worrying about memory consumption is very lazy programming at best. How has growing up as a VB only programmer been? Open your mind, code should be written well and made to be as efficient as possible. Don't use the expense of todays hardware as an excuse.

_____________________________
You're not an inker, you're a tracer!
GeneralRe: Memory usage of 1 form Pin
Peter Vertes7-Jul-04 3:48
Peter Vertes7-Jul-04 3:48 
GeneralRe: Memory usage of 1 form Pin
Dave Kreskowiak7-Jul-04 4:53
mveDave Kreskowiak7-Jul-04 4:53 
GeneralRe: Memory usage of 1 form Pin
Heath Stewart7-Jul-04 5:09
protectorHeath Stewart7-Jul-04 5:09 
QuestionHow to use the function directly Pin
luming11223344556-Jul-04 16:44
luming11223344556-Jul-04 16:44 
AnswerRe: How to use the function directly Pin
insurgentpyro6-Jul-04 18:56
insurgentpyro6-Jul-04 18:56 
AnswerRe: How to use the function directly Pin
Stefan Troschuetz6-Jul-04 20:33
Stefan Troschuetz6-Jul-04 20:33 
GeneralRe: How to use the function directly Pin
luming11223344556-Jul-04 21:46
luming11223344556-Jul-04 21:46 
Generalvga output from PPC using C# Pin
wilk00776-Jul-04 16:19
wilk00776-Jul-04 16:19 
GeneralSearch Command Pin
Anonymous6-Jul-04 15:19
Anonymous6-Jul-04 15:19 
GeneralRe: Search Command Pin
insurgentpyro6-Jul-04 18:54
insurgentpyro6-Jul-04 18:54 
GeneralRe: Search Command Pin
hpAng6-Jul-04 21:30
hpAng6-Jul-04 21:30 
GeneralRe: Search Command Pin
Heath Stewart7-Jul-04 4:26
protectorHeath Stewart7-Jul-04 4:26 
GeneralHttpWebRequest Pin
Moon Boy6-Jul-04 14:23
Moon Boy6-Jul-04 14:23 
GeneralRe: HttpWebRequest Pin
Heath Stewart7-Jul-04 4:19
protectorHeath Stewart7-Jul-04 4:19 
Generalneed sp_helpdb return values Pin
betterc6-Jul-04 14:06
betterc6-Jul-04 14:06 
GeneralRe: need sp_helpdb return values Pin
leppie6-Jul-04 14:55
leppie6-Jul-04 14:55 
GeneralRe: need sp_helpdb return values Pin
betterc6-Jul-04 14:57
betterc6-Jul-04 14:57 

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.