Click here to Skip to main content
15,887,322 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHigh memory usage Pin
TheMrProgrammer13-Sep-09 5:22
TheMrProgrammer13-Sep-09 5:22 
AnswerRe: High memory usage Pin
Steven J Jowett13-Sep-09 5:31
Steven J Jowett13-Sep-09 5:31 
GeneralRe: High memory usage Pin
TheMrProgrammer13-Sep-09 6:31
TheMrProgrammer13-Sep-09 6:31 
GeneralRe: High memory usage Pin
Hurricane300013-Sep-09 6:38
Hurricane300013-Sep-09 6:38 
GeneralRe: High memory usage Pin
TheMrProgrammer13-Sep-09 18:01
TheMrProgrammer13-Sep-09 18:01 
GeneralRe: High memory usage Pin
N a v a n e e t h13-Sep-09 6:59
N a v a n e e t h13-Sep-09 6:59 
GeneralRe: High memory usage Pin
TheMrProgrammer13-Sep-09 18:02
TheMrProgrammer13-Sep-09 18:02 
GeneralRe: High memory usage Pin
Dave Kreskowiak13-Sep-09 15:21
mveDave Kreskowiak13-Sep-09 15:21 
You don't need to worry about it. What you did by minimizing the app and restoring it tells me that you only looked in TaskManager for the memory statistic. Don't. What you're seeing the memory the .NET CLR has RESERVED for your application, not how much your app is actually using. Use Performance Monitor instead to see what your app is really using.

You do not need to worry about the extra memory being reserved. The .NET Memory Manager keeps extra memory in the pool to allocate new objects your app wants as fast as possible. WIthout this, the Memory Manager has to request more memory from Windows and add it to the Managed Pool, which takes time. So, yeah, you can reduce this extra pool, but you're only hurting your apps performance by doing so.

Now, if Windows needs that memory back, the Memory Manager will be more than happy to return any extra memory it can back to Windows, without you doing anything.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: High memory usage Pin
TheMrProgrammer13-Sep-09 18:03
TheMrProgrammer13-Sep-09 18:03 
AnswerRe: High memory usage Pin
Henry Minute13-Sep-09 5:35
Henry Minute13-Sep-09 5:35 
AnswerRe: High memory usage Pin
Hurricane300013-Sep-09 6:13
Hurricane300013-Sep-09 6:13 
AnswerRe: High memory usage Pin
Luc Pattyn13-Sep-09 6:46
sitebuilderLuc Pattyn13-Sep-09 6:46 
QuestionRe: High memory usage Pin
TheMrProgrammer13-Sep-09 17:59
TheMrProgrammer13-Sep-09 17:59 
AnswerRe: High memory usage Pin
N a v a n e e t h13-Sep-09 18:18
N a v a n e e t h13-Sep-09 18:18 
AnswerRe: High memory usage Pin
Luc Pattyn14-Sep-09 2:26
sitebuilderLuc Pattyn14-Sep-09 2:26 
JokeRe: High memory usage Pin
N a v a n e e t h14-Sep-09 16:09
N a v a n e e t h14-Sep-09 16:09 
AnswerRe: High memory usage Pin
programmervb.netc++14-Sep-09 14:05
programmervb.netc++14-Sep-09 14:05 
QuestionGetting Blank text value on Textbox Keypress [modified] Pin
mdrizwan_111-Sep-09 20:59
mdrizwan_111-Sep-09 20:59 
AnswerRe: Getting Blank text value on Textbox Keypress Pin
Christian Graus11-Sep-09 21:08
protectorChristian Graus11-Sep-09 21:08 
AnswerRe: Getting Blank text value on Textbox Keypress Pin
Abhishek Sur12-Sep-09 13:39
professionalAbhishek Sur12-Sep-09 13:39 
QuestionVisual Basic to generate a drawing Pin
Member 419652111-Sep-09 18:31
Member 419652111-Sep-09 18:31 
AnswerRe: Visual Basic to generate a drawing Pin
Christian Graus11-Sep-09 18:36
protectorChristian Graus11-Sep-09 18:36 
GeneralRe: Visual Basic to generate a drawing Pin
Member 419652111-Sep-09 19:09
Member 419652111-Sep-09 19:09 
GeneralRe: Visual Basic to generate a drawing Pin
Christian Graus11-Sep-09 19:18
protectorChristian Graus11-Sep-09 19:18 
GeneralRe: Visual Basic to generate a drawing Pin
Member 419652111-Sep-09 20:50
Member 419652111-Sep-09 20:50 

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.