Click here to Skip to main content
15,914,074 members
Home / Discussions / C#
   

C#

 
GeneralRe: remote .mdb file access Pin
Adnan Siddiqi18-Mar-05 8:44
Adnan Siddiqi18-Mar-05 8:44 
GeneralRe: remote .mdb file access Pin
Dave Kreskowiak18-Mar-05 16:29
mveDave Kreskowiak18-Mar-05 16:29 
GeneralC#-Function as Part of an SQL-Where-Clause Pin
Rainer Ziebarth18-Mar-05 0:24
Rainer Ziebarth18-Mar-05 0:24 
GeneralRe: C#-Function as Part of an SQL-Where-Clause Pin
Ravindra Sadaphule18-Mar-05 11:54
Ravindra Sadaphule18-Mar-05 11:54 
GeneralRe: C#-Function as Part of an SQL-Where-Clause Pin
Rainer Ziebarth20-Mar-05 7:29
Rainer Ziebarth20-Mar-05 7:29 
GeneralMemory Pin
Mauricio Ritter17-Mar-05 23:56
Mauricio Ritter17-Mar-05 23:56 
GeneralRe: Memory Pin
Sebastian Schneider18-Mar-05 1:54
Sebastian Schneider18-Mar-05 1:54 
GeneralRe: Memory Pin
Sebastian Schneider18-Mar-05 2:18
Sebastian Schneider18-Mar-05 2:18 
And now for something useful:

Basically, .NET takes Memory Management out of your hands (GC-wise), so you can simply hack away.

If I was you, I wouldnt want to lose that ability.

I am not sure about .NET, but in Suns JAVA-VM you can specify how much memory you need and the Runtime would then reserve it.

This is one way you could go (that is, IF .NET has similar functionality). The other way would be limiting the SQL-Server to a certain amount of memory (if possible).

The third (and slowest way) would be try/catching each memory-affection operation and then retrying (with a 20ms sleep, maybe) until you get your operation completed (I understand that the memory-consuming allocations of the SQL-Server are peaks only).

There may be more solutions, but the above are all I can think of.

Before I forget, there also are 2 non-programmatical solutions to your problem:

1st - let Windows handle the page file or set it to something bigger (e.g. 1 GB)
2nd - upgrade your server (more physical RAM)

Cheers
Sid


GeneralRe: Memory Pin
Andy Brummer18-Mar-05 5:57
sitebuilderAndy Brummer18-Mar-05 5:57 
GeneralPropertyGrid problems Pin
Member 9743517-Mar-05 23:48
Member 9743517-Mar-05 23:48 
GeneralRegisterStartupScript Pin
kaanacar17-Mar-05 23:46
kaanacar17-Mar-05 23:46 
QuestionBaloon tips in a HTML site? Pin
Pikebu17-Mar-05 23:08
Pikebu17-Mar-05 23:08 
GeneralPrinting data from a grid Pin
StephenMcAllister17-Mar-05 21:14
StephenMcAllister17-Mar-05 21:14 
GeneralRe: Printing data from a grid Pin
Kodanda Pani17-Mar-05 22:42
Kodanda Pani17-Mar-05 22:42 
GeneralYour comment Pin
sreejith ss nair17-Mar-05 20:07
sreejith ss nair17-Mar-05 20:07 
Questioncould somebody help me? Pin
Chrislangton17-Mar-05 19:31
Chrislangton17-Mar-05 19:31 
AnswerRe: could somebody help me? Pin
Colin Angus Mackay17-Mar-05 23:02
Colin Angus Mackay17-Mar-05 23:02 
AnswerRe: could somebody help me? Pin
Sebastian Schneider18-Mar-05 2:34
Sebastian Schneider18-Mar-05 2:34 
Generalview html Pin
frankDust17-Mar-05 19:26
frankDust17-Mar-05 19:26 
Question.NET FRAMEWORK BUG? Pin
reflex@codeproject17-Mar-05 18:22
reflex@codeproject17-Mar-05 18:22 
AnswerRe: .NET FRAMEWORK BUG? Pin
MoustafaS18-Mar-05 12:54
MoustafaS18-Mar-05 12:54 
GeneralRe: .NET FRAMEWORK BUG? Pin
reflex@codeproject18-Mar-05 16:06
reflex@codeproject18-Mar-05 16:06 
QuestionCan somebody help me make sense of this? Pin
hstock17-Mar-05 18:04
hstock17-Mar-05 18:04 
AnswerRe: Can somebody help me make sense of this? Pin
Colin Angus Mackay17-Mar-05 23:07
Colin Angus Mackay17-Mar-05 23:07 
QuestionHow to deploy web application Pin
ABBASI_RA17-Mar-05 17:12
ABBASI_RA17-Mar-05 17:12 

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.