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

C#

 
GeneralRe: What is the correct way to do an ini file these days..... Pin
glennPattonWork312-Mar-12 22:53
professionalglennPattonWork312-Mar-12 22:53 
GeneralRe: What is the correct way to do an ini file these days..... Pin
PIEBALDconsult13-Mar-12 3:30
mvePIEBALDconsult13-Mar-12 3:30 
GeneralRe: What is the correct way to do an ini file these days..... Pin
glennPattonWork313-Mar-12 3:40
professionalglennPattonWork313-Mar-12 3:40 
GeneralRe: What is the correct way to do an ini file these days..... Pin
PIEBALDconsult13-Mar-12 7:24
mvePIEBALDconsult13-Mar-12 7:24 
GeneralRe: What is the correct way to do an ini file these days..... Pin
jschell13-Mar-12 10:26
jschell13-Mar-12 10:26 
GeneralRe: What is the correct way to do an ini file these days..... Pin
PIEBALDconsult13-Mar-12 3:32
mvePIEBALDconsult13-Mar-12 3:32 
QuestionRegEx help Pin
Sunil P V12-Mar-12 5:15
Sunil P V12-Mar-12 5:15 
AnswerRe: RegEx help Pin
Dave Kreskowiak12-Mar-12 5:25
mveDave Kreskowiak12-Mar-12 5:25 
GeneralRe: RegEx help Pin
Sunil P V12-Mar-12 5:32
Sunil P V12-Mar-12 5:32 
GeneralRe: RegEx help Pin
djdanlib12-Mar-12 6:41
djdanlib12-Mar-12 6:41 
GeneralRe: RegEx help Pin
Dave Kreskowiak12-Mar-12 7:18
mveDave Kreskowiak12-Mar-12 7:18 
AnswerRe: RegEx help Pin
Richard MacCutchan12-Mar-12 6:21
mveRichard MacCutchan12-Mar-12 6:21 
AnswerRe: RegEx help Pin
PIEBALDconsult12-Mar-12 7:01
mvePIEBALDconsult12-Mar-12 7:01 
Questionlimit memory c# Pin
william ormundo12-Mar-12 4:29
william ormundo12-Mar-12 4:29 
AnswerRe: limit memory c# Pin
Dave Kreskowiak12-Mar-12 4:55
mveDave Kreskowiak12-Mar-12 4:55 
GeneralRe: limit memory c# Pin
william ormundo12-Mar-12 9:44
william ormundo12-Mar-12 9:44 
AnswerRe: limit memory c# Pin
Luc Pattyn12-Mar-12 10:06
sitebuilderLuc Pattyn12-Mar-12 10:06 
GeneralRe: limit memory c# Pin
william ormundo12-Mar-12 10:31
william ormundo12-Mar-12 10:31 
AnswerRe: limit memory c# Pin
Luc Pattyn12-Mar-12 10:35
sitebuilderLuc Pattyn12-Mar-12 10:35 
GeneralRe: limit memory c# Pin
Dave Kreskowiak12-Mar-12 10:08
mveDave Kreskowiak12-Mar-12 10:08 
AnswerRe: limit memory c# Pin
OriginalGriff12-Mar-12 7:28
mveOriginalGriff12-Mar-12 7:28 
There is no limit of 2GB for all information in .NET - but there is a limit of 2GB for any one object in .NET

What that means is that each object you create must be less than 2GB - you can have an array of 536,870,912 strings, each string of which can be 1GB in size, but you cannot have an array of 536,870,913 strings (assuming each reference is 32 bits, that would take teh total size of the array over 2GB - for 64 bit references the size is halved).

This doesn't mean that you won't get "out of memory" errors - it depends on how much virtual memory is available to .NET and your system in general, and you may run out of memory if the garbage collector can't free up a big enough chunk to fill a request.
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

AnswerRe: limit memory c# Pin
jschell12-Mar-12 8:55
jschell12-Mar-12 8:55 
Questiondefining a row grid within a column grid, c#, wpf Pin
Sutton Mehaffey12-Mar-12 3:37
Sutton Mehaffey12-Mar-12 3:37 
AnswerRe: defining a row grid within a column grid, c#, wpf Pin
Wes Aday12-Mar-12 3:55
professionalWes Aday12-Mar-12 3:55 
AnswerDuplicate post Pin
Pete O'Hanlon12-Mar-12 4:10
mvePete O'Hanlon12-Mar-12 4:10 

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.