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

.NET (Core and Framework)

 
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 
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 
Hi Sarab,
I think that your problem is regarding the number of handles you create!!! If you know, Windows restricts each process in creating handles. For example, it is 10,000 handles for XP. But my experience says that this equation is that straight forward!!! It is also dependent on the memory the process occupies and the number of GDI objects being created by your app.
To confirm this, try seeing the number of GDI objects and Handles being created by your app through the taskmanager->View->Select Columns... And if the number of Handles is going beyond 500 and GDI objects more than 300 or 400, then i think that you have located the problem!!!

Even i had a similar problem, but not yet found the solution as such!!! The work around which i did was not storing such a huge data in memory which creates lots of GDI objects!!!! Though im able to get control over it, i feel that this is not the correct solution to it!!!

Regards,
Rajesh
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 
GeneralRe: new (?) .NET memory usage solution Pin
Colin Angus Mackay29-Jan-06 21:21
Colin Angus Mackay29-Jan-06 21:21 
GeneralRe: new (?) .NET memory usage solution Pin
User 221952029-Jan-06 21:55
User 221952029-Jan-06 21:55 
GeneralRe: new (?) .NET memory usage solution Pin
Colin Angus Mackay29-Jan-06 21:23
Colin Angus Mackay29-Jan-06 21:23 

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.