News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
Memory usage  
by don
posted on 2004/01/15

When I use the webclient example to download around 16 MB file, the memory usage become around 50 MB and remain after the socket closing. [The same happen with my program of course :))] If I set the SecureProtocol to None it works well.

I wrote a multi threaded server and It can consume my resources quickly.

by Pieter Philippaerts [Pieter at mentalis dot org]
posted on 2004/01/25

The behavior you're seeing is due to garbage collection. The .NET framework will not start releasing memory until the system is low on resources or until the GC.Collect() method is called.

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.