|
-
Jan 15th, 2005, 05:52 AM
#1
Thread Starter
New Member
-
Jan 15th, 2005, 08:09 PM
#2
Re: Memory
Hi
Don't worry its perfectly normal that's the size frameworks dlls loaded into memory.
Since its a long time to create objects in memory garbagge collection keeps them in memory for awhile ...
Regards
Jorge
"The dark side clouds everything. Impossible to see the future is."
-
Jan 16th, 2005, 12:17 AM
#3
Thread Starter
New Member
Re: Memory
Thank you both of you for your replies.
I have 512MB Ram in my machine.
But I am not really concerned about how much memory it takes on MY machine. I just want to optimise my programs so that .NEt applications utilise the minimum possible memory on a clients machine.
Though it might appear negligible, what i am concerned is hows that, I see some programs running take hardly some 1500K (or say microsoft's agent server - that little cartoon thing in MsWord- takes just 700k) even with a very good user interface. Can we do something to reduce the memory usuage and kind of optimise our programs.
Thank you
-
Jan 16th, 2005, 03:11 AM
#4
Fanatic Member
If wishes were fishes we'd all cast nets.
-
Jan 16th, 2005, 10:28 AM
#5
Re: Memory
 Originally Posted by Graff
Ehm...what that article says is a bit of crap if you ask me. On your task manager select the VM Size and if you do the same thing with a .Net app you'll see that it doesn't become affected as much as the memory usage. Minimizing really swaps out the process on guest operating systems (Win2K Pro, WinXP), I don't know what happens in server OSes. That trick doesn't do anything to reduce the actual memory requirements - instead it forces the OS to read your app from VM when it's restored from the tray, something that causes page faults (check that with task manager too) and that causes system I/O overhead.
 Originally Posted by mateen
Though it might appear negligible, what i am concerned is hows that, I see some programs running take hardly some 1500K (or say microsoft's agent server - that little cartoon thing in MsWord- takes just 700k) even with a very good user interface. Can we do something to reduce the memory usuage and kind of optimise our programs.
Well, welcome to the world of VM environments (.Net & Java). 2Mb seems to be a quite reasonable memory requirement for .Net apps if you consider what gets loaded (core libs and other stuff you use like forms, xml etc. are quite large assemblies). If a small memory footprint and speed is critical, you should consider a language closer to the OS level (like C++) and a good optimizing compiler that takes advantage of the complete CPU instruction set.
Cheers,
NTG
Last edited by ntg; Jan 16th, 2005 at 07:03 PM.
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
|