|
-
Jul 10th, 2004, 01:55 PM
#1
Thread Starter
Member
Reduce Memory Footprint??
I have a small basic program that I made a couple years ago in Visual Basic 6 which I opened in .NET and it runs fine. The only problem I see is that the process for the VB6 version was somewhere around 3,500 K and the new one from .NET runs at about 10,500 K. I also totally reprogrammed a new version from scratch in .NET and it also runs at around 10,500 K.
Is there anything I can prune from the .NET build that would lower the process memory footprint?? Or do .NET apps just take more memory to run?
Thanks
Carl
-
Jul 10th, 2004, 01:58 PM
#2
I find that .net apps usually take up loads of memory according to the task manager.
As long as your code is efficient, you shouldn't worry about it.
I don't live here any more.
-
Jul 10th, 2004, 02:24 PM
#3
Lively Member
That's the nature of .Net Framework.
Anyway you may save small ammount of memory by using inline and direct values rather than declaring several variables and using them.
Do you think my life is easy?
Do you think it's good to win?
do you think it's nice to kill?
Do you think learning is a must?
Do you think computers are nothing?
Do you think this post is stupid?
Do ypu think we're really humen?
DO YOU THINK IT'S GOOD TO THINK AT ALL? ? ? ! ! !
-
Jul 10th, 2004, 02:50 PM
#4
The amount of memory you would save doing that would be negligible. Anyway, I can't think of a reason that would happen anyway, thats what constants are for.
Never use numeric literals in code, always use constants.
I don't live here any more.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|