|
-
Aug 26th, 2003, 03:25 AM
#1
Thread Starter
Hyperactive Member
Memory burns...
I saw with the task manager of Win2000 that a simple application, only a form, gets up to 12Mb of memory... Isn't this a little excessive???? What hell? For a more complicated application, I got a 371 MB of memory usage!!! My comp freezed for a while....
Learn, this is the Keyword...
-
Aug 26th, 2003, 03:53 AM
#2
Lively Member
Is you using the IDE ?
Usually the IDE take up lots of memory. For developer the idea memory is 1 GB. and the processor is 2 GHz and above.
-
Aug 26th, 2003, 03:56 AM
#3
Thread Starter
Hyperactive Member
Yes, I'm using IDE, but I configured it as the "Release" config, and I run the program with ctrl+F5...
And also, how many threads....
Learn, this is the Keyword...
-
Aug 26th, 2003, 03:57 AM
#4
Thread Starter
Hyperactive Member
And I have only 512Mb of Ram and it's a 700 MHz duron
Learn, this is the Keyword...
-
Aug 26th, 2003, 04:01 AM
#5
Lively Member
Hi,
Even you are build under the release mode, the IDE still resident inside your memory. It handle lots of your controls that youe application not need.
If you really want to know how much your app take up the momory then build the release mode. Close the IDE, run your app. Then check again.
Ops... one more things .... try to unload the not use control and reference from your projects. It will slow down your app and take huge of memory.
-
Aug 26th, 2003, 04:13 AM
#6
Lively Member
Youe spec is fine :)
Youe pc spec is fine since you have large memory.
-
Aug 26th, 2003, 11:12 AM
#7
I wonder how many charact
Simply minimize your app's form windows, and then recheck the memory usage, you will seen it dropped dramatically.
Although, if you have an app with 371MB being used, you might have designed it inefficiently, and perhaps not disposing references to objects, and the GC isn't freeing them.
-
Aug 26th, 2003, 12:11 PM
#8
I think the thing to remember with .NET applications and the GC is that the more memory you have the more it will seem that your application will take. The GC cleans up and reclaims memory as it is needed so if it is not needed then it will just spend your memory to make your application run as fast as possible. If the memory is needed then the GC will clean and make it available but if you just open a form and check memory then there is no reason for it to clean up and it will just leave it used.
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
|