Click here to Skip to main content
15,919,500 members
Home / Discussions / C#
   

C#

 
GeneralRe: base keyword Pin
Michael Dunn23-Feb-05 14:55
sitebuilderMichael Dunn23-Feb-05 14:55 
GeneralRe: base keyword Pin
Christian Graus23-Feb-05 17:19
protectorChristian Graus23-Feb-05 17:19 
GeneralRe: base keyword Pin
Judah Gabriel Himango24-Feb-05 3:54
sponsorJudah Gabriel Himango24-Feb-05 3:54 
GeneralRe: base keyword Pin
Christian Graus24-Feb-05 10:55
protectorChristian Graus24-Feb-05 10:55 
GeneralHere is my question: Pin
Yaakov Davis24-Feb-05 3:55
Yaakov Davis24-Feb-05 3:55 
GeneralRe: Here is my question: Pin
Michael Dunn24-Feb-05 6:05
sitebuilderMichael Dunn24-Feb-05 6:05 
GeneralRe: Here is my question: Pin
Yaakov Davis24-Feb-05 6:44
Yaakov Davis24-Feb-05 6:44 
QuestionHow to force freeing reserved memory? Pin
Qualen23-Feb-05 13:01
Qualen23-Feb-05 13:01 
I have a server application that uses alot of memory. I have had to set the IMAGE_FILE_LARGE_ADDRESS_AWARE bit because I need that much memory. And still it seems that I have read, that .NET can't handle proccesses that take more than 2.2 GB of MEM. And it seems to be right, the process crashes every time it reaches that level. Since I can't use more mem, I need to make sure that the proccess doesn't reserve too much memory that it isn't using.

They way it works now is that it reserves alot of mem because there is alot availabe and the GC doesnt free any, it only removes unreferenced objects but keeps the memory reserved.

I have read that Windows sends an memory resource notification that can cause a procces to dump unused reserved memory. And I can read on MSDN how to use CreateMemoryResourceNotification in C++. But this is C# ;=)

Can someone plz help me make sure my process doesn't hog up more mem than it actually needs?

Thx Qualen
AnswerRe: How to force freeing reserved memory? Pin
Qualen24-Feb-05 3:21
Qualen24-Feb-05 3:21 
GeneralRe: How to force freeing reserved memory? Pin
Rei Miyasaka25-Feb-05 12:02
Rei Miyasaka25-Feb-05 12:02 
AnswerRe: How to force freeing reserved memory? Pin
kaangonel26-Feb-05 22:34
kaangonel26-Feb-05 22:34 
GeneralAvoiding open/save diaolg box Pin
see0723-Feb-05 12:34
see0723-Feb-05 12:34 
GeneralRe: Avoiding open/save diaolg box Pin
Heath Stewart23-Feb-05 12:44
protectorHeath Stewart23-Feb-05 12:44 
GeneralRe: Avoiding open/save diaolg box Pin
see0724-Feb-05 7:12
see0724-Feb-05 7:12 
GeneralRe: Avoiding open/save diaolg box Pin
Heath Stewart24-Feb-05 14:43
protectorHeath Stewart24-Feb-05 14:43 
GeneralRe: Avoiding open/save diaolg box Pin
see0725-Feb-05 5:11
see0725-Feb-05 5:11 
GeneralRe: Avoiding open/save diaolg box Pin
Heath Stewart25-Feb-05 5:14
protectorHeath Stewart25-Feb-05 5:14 
GeneralRe: Avoiding open/save diaolg box Pin
Heath Stewart23-Feb-05 12:48
protectorHeath Stewart23-Feb-05 12:48 
QuestionCreating new objects at runtime?? Pin
Besinci23-Feb-05 7:12
Besinci23-Feb-05 7:12 
AnswerRe: Creating new objects at runtime?? Pin
Nick Parker23-Feb-05 7:45
protectorNick Parker23-Feb-05 7:45 
GeneralRe: Creating new objects at runtime?? Pin
Besinci23-Feb-05 7:56
Besinci23-Feb-05 7:56 
Generalbarcode check digit Pin
sardonicus23-Feb-05 7:07
sardonicus23-Feb-05 7:07 
GeneralProblems porting an API call from VB6 to C# Pin
smithriver23-Feb-05 7:00
smithriver23-Feb-05 7:00 
GeneralRe: Problems porting an API call from VB6 to C# Pin
Heath Stewart23-Feb-05 12:37
protectorHeath Stewart23-Feb-05 12:37 
GeneralRe: Problems porting an API call from VB6 to C# Pin
smithriver24-Feb-05 8:15
smithriver24-Feb-05 8:15 

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.