Click here to Skip to main content
15,910,303 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: DataGrid Display Question Pin
Avarona25-Feb-05 1:05
Avarona25-Feb-05 1:05 
GeneralFrom text to time Pin
numbrel24-Feb-05 15:24
numbrel24-Feb-05 15:24 
GeneralRe: From text to time Pin
Dave Kreskowiak25-Feb-05 1:00
mveDave Kreskowiak25-Feb-05 1:00 
GeneralRe: From text to time Pin
numbrel25-Feb-05 5:30
numbrel25-Feb-05 5:30 
GeneralRe: From text to time Pin
Dave Kreskowiak25-Feb-05 7:14
mveDave Kreskowiak25-Feb-05 7:14 
GeneralMicrosoft compact Framework Pin
Member 37044324-Feb-05 9:05
Member 37044324-Feb-05 9:05 
GeneralDeacreasing Memory Usage Pin
Mitch F.24-Feb-05 7:20
Mitch F.24-Feb-05 7:20 
GeneralRe: Deacreasing Memory Usage Pin
Dave Kreskowiak24-Feb-05 7:33
mveDave Kreskowiak24-Feb-05 7:33 
Everyone new to the .NET Framework see's this and freeks out. It's normal! You don't (and CAN'T) do anything about it.

If you minimize the app and restore it, you'll see that your application seemingly dumps alot of this memory. In reality, it's not. What's going on is that you've got the weight of the .NET Framework under your application. When you minimize your app, alot of your code and data (whether it's part of your app or part of the Framework) gets swapped out to disk and no longer resides in physical RAM. When you restore the app, only the code and data that's needed immediately gets swapped back to RAM. As you use your application, more data and code is swapped back and forth to the pagefile as needed.

If the Garbage Collector sees that there is plenty of RAM to run your application, it might not swap this stuff out and free up RAM. Why waste the time, if it's really not necessary? Only when RAM starts to run low will the garbage collector be more aggressive swapping code and data out to disk and cleaning up objects that aren't in use any more.

Don't panic! Just let the Garbage Collector do it's job!


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Deacreasing Memory Usage Pin
Mitch F.24-Feb-05 8:00
Mitch F.24-Feb-05 8:00 
GeneralOffice Automation Pin
mav070724-Feb-05 3:57
mav070724-Feb-05 3:57 
GeneralRe: Office Automation Pin
Dave Kreskowiak24-Feb-05 4:44
mveDave Kreskowiak24-Feb-05 4:44 
GeneralFormatting text in Text or rtf file Pin
Thirumalaraj24-Feb-05 2:25
Thirumalaraj24-Feb-05 2:25 
GeneralRe: Formatting text in Text or rtf file Pin
Dave Kreskowiak24-Feb-05 4:25
mveDave Kreskowiak24-Feb-05 4:25 
GeneralRe: Formatting text in Text or rtf file Pin
Thirumalaraj24-Feb-05 15:56
Thirumalaraj24-Feb-05 15:56 
GeneralRe: Formatting text in Text or rtf file Pin
Dave Kreskowiak25-Feb-05 0:59
mveDave Kreskowiak25-Feb-05 0:59 
GeneralControl's Main Bindable Property Pin
JanEngelKetmig24-Feb-05 1:17
JanEngelKetmig24-Feb-05 1:17 
GeneralRe: Control's Main Bindable Property Pin
Dave Kreskowiak24-Feb-05 1:35
mveDave Kreskowiak24-Feb-05 1:35 
GeneralRe: Control's Main Bindable Property Pin
JanEngelKetmig24-Feb-05 2:16
JanEngelKetmig24-Feb-05 2:16 
GeneralMoving folder from one drive to another Pin
Rizwan Bashir23-Feb-05 21:03
Rizwan Bashir23-Feb-05 21:03 
GeneralRe: Moving folder from one drive to another Pin
Dave Kreskowiak24-Feb-05 1:32
mveDave Kreskowiak24-Feb-05 1:32 
Questiondatabase password with vb6? Pin
a_yosef23-Feb-05 21:00
a_yosef23-Feb-05 21:00 
AnswerRe: database password with vb6? Pin
Dave Kreskowiak25-Feb-05 7:20
mveDave Kreskowiak25-Feb-05 7:20 
GeneralRe: database password with vb6? Pin
a_yosef25-Feb-05 20:09
a_yosef25-Feb-05 20:09 
GeneralRe: database password with vb6? Pin
Dave Kreskowiak25-Feb-05 20:13
mveDave Kreskowiak25-Feb-05 20:13 
GeneralRe: database password with vb6? Pin
a_yosef25-Feb-05 20:59
a_yosef25-Feb-05 20:59 

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.