Click here to Skip to main content
15,900,511 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionIs there any help available for SPRIN .NET Framework ? Pin
Pankaj Kulkarni30-Jan-06 19:38
Pankaj Kulkarni30-Jan-06 19:38 
AnswerRe: Is there any help available for SPRIN .NET Framework ? Pin
Dave Kreskowiak31-Jan-06 5:15
mveDave Kreskowiak31-Jan-06 5:15 
QuestionIs there a way to handle OutOfMemory exceptions? Pin
sarabjs30-Jan-06 8:40
sarabjs30-Jan-06 8:40 
AnswerRe: Is there a way to handle OutOfMemory exceptions? Pin
Guffa30-Jan-06 9:36
Guffa30-Jan-06 9:36 
AnswerRe: Is there a way to handle OutOfMemory exceptions? Pin
likefood30-Jan-06 11:07
likefood30-Jan-06 11:07 
GeneralRe: Is there a way to handle OutOfMemory exceptions? Pin
sarabjs1-Feb-06 6:14
sarabjs1-Feb-06 6:14 
AnswerRe: Is there a way to handle OutOfMemory exceptions? Pin
Ingo31-Jan-06 3:18
Ingo31-Jan-06 3:18 
GeneralRe: Is there a way to handle OutOfMemory exceptions? Pin
Dan Neely31-Jan-06 3:34
Dan Neely31-Jan-06 3:34 
ihoecken wrote:

Another Point is the Garbage Collection, which isn't a real one. If you generate an object and drop it afterwards its hold in the memory quiet a time. So there are objects which aren't used anymore.


That's not an accurate statement, you appear to be laboring under one of two incorrect assumptions. .net's garbage collector is generational which means that it attempts to collect younger objects far more frequently than older ones. If memory is needed it will however collect the older generations.

Secondly when an object is GCed the memory is returned to the application stack/heap, not to the operating system. Standard c/c++ runtimes behave the same way because requesting/returning memory to the OS is an expensive operation. Consequently the task manager doesn't display the actual ammount of ram the program is using. This is more apparent in .net since it's runtime requests a larger default chunk size than standard C++ ones. Excess memory is returned if the OS asks for it (ie appB requests more than the OS has available so the OS asks other running apps if they can return thier excess), minimizing the app will also trigger this release under .net. IIRC it will eventually do this on it's own if it concludes it asked for more than it'll ever likely need. If the systems apps are using more total ram than is physically available, the excess will be parked on the swap file because of inactivity so while it may make the task manager numbers look scary it doesn't have a real effect on performance.
GeneralRe: Is there a way to handle OutOfMemory exceptions? Pin
Ingo31-Jan-06 4:12
Ingo31-Jan-06 4:12 
GeneralRe: Is there a way to handle OutOfMemory exceptions? Pin
Dave Kreskowiak31-Jan-06 5:13
mveDave Kreskowiak31-Jan-06 5:13 
AnswerRe: Is there a way to handle OutOfMemory exceptions? Pin
RajeshGuptha2-Feb-06 7:47
RajeshGuptha2-Feb-06 7:47 
AnswerRe: Is there a way to handle OutOfMemory exceptions? Pin
sarabjs3-Feb-06 10:03
sarabjs3-Feb-06 10:03 
QuestionHow can I flush window events? Pin
swcrissman30-Jan-06 3:37
swcrissman30-Jan-06 3:37 
AnswerRe: How can I flush window events? Pin
kasik30-Jan-06 4:38
kasik30-Jan-06 4:38 
GeneralRe: How can I flush window events? Pin
swcrissman30-Jan-06 5:21
swcrissman30-Jan-06 5:21 
QuestionRequired .NET Profiler Pin
RajeshGuptha30-Jan-06 1:00
RajeshGuptha30-Jan-06 1:00 
AnswerRe: Required .NET Profiler Pin
tarasn30-Jan-06 4:48
tarasn30-Jan-06 4:48 
AnswerRe: Required .NET Profiler Pin
Robert Rohde30-Jan-06 20:24
Robert Rohde30-Jan-06 20:24 
GeneralRe: Required .NET Profiler Pin
RajeshGuptha2-Feb-06 7:58
RajeshGuptha2-Feb-06 7:58 
QuestionInstall Framework 2.0 SDK with Visual Studio 2003 Pin
nikolag29-Jan-06 21:35
nikolag29-Jan-06 21:35 
AnswerRe: Install Framework 2.0 SDK with Visual Studio 2003 Pin
Dave Kreskowiak30-Jan-06 1:32
mveDave Kreskowiak30-Jan-06 1:32 
GeneralRe: Install Framework 2.0 SDK with Visual Studio 2003 Pin
nikolag31-Jan-06 21:45
nikolag31-Jan-06 21:45 
Generalnew (?) .NET memory usage solution Pin
User 221952029-Jan-06 17:44
User 221952029-Jan-06 17:44 
GeneralRe: new (?) .NET memory usage solution Pin
leppie29-Jan-06 18:27
leppie29-Jan-06 18:27 
GeneralRe: new (?) .NET memory usage solution Pin
User 221952029-Jan-06 18:35
User 221952029-Jan-06 18:35 

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.