Click here to Skip to main content
15,898,035 members
Home / Discussions / C#
   

C#

 
AnswerRe: Memory allocation Pin
mikone30-Aug-06 5:05
mikone30-Aug-06 5:05 
GeneralRe: Memory allocation Pin
leppie30-Aug-06 11:17
leppie30-Aug-06 11:17 
GeneralRe: Memory allocation Pin
mikone30-Aug-06 11:33
mikone30-Aug-06 11:33 
GeneralRe: Memory allocation Pin
pawelpus30-Aug-06 11:59
pawelpus30-Aug-06 11:59 
GeneralRe: Memory allocation Pin
mikone30-Aug-06 12:28
mikone30-Aug-06 12:28 
GeneralRe: Memory allocation Pin
pawelpus30-Aug-06 22:15
pawelpus30-Aug-06 22:15 
GeneralRe: Memory allocation Pin
mikone31-Aug-06 7:25
mikone31-Aug-06 7:25 
AnswerRe: Memory allocation Pin
Robert Rohde30-Aug-06 5:45
Robert Rohde30-Aug-06 5:45 
On my machine both are giving me an OutOfMemoryException.
Integers have 4 Bytes so int[] values1 = new int[1024*1024*400]; will allocate not 400 MB but 1600MB. The logical memory limit of Windows 32 bit per process is somewhere near 2GB and I think .Net crunches away some of this.
Thus you are really reaching the limit...
GeneralRe: Memory allocation Pin
pawelpus30-Aug-06 12:01
pawelpus30-Aug-06 12:01 
AnswerRe: Memory allocation Pin
Colin Angus Mackay30-Aug-06 9:56
Colin Angus Mackay30-Aug-06 9:56 
GeneralRe: Memory allocation Pin
pawelpus30-Aug-06 11:58
pawelpus30-Aug-06 11:58 
QuestionCreating dependent programs Pin
ToBrax30-Aug-06 4:53
ToBrax30-Aug-06 4:53 
AnswerRe: Creating dependent programs Pin
albCode30-Aug-06 4:56
albCode30-Aug-06 4:56 
AnswerRe: Creating dependent programs Pin
mikone30-Aug-06 4:59
mikone30-Aug-06 4:59 
QuestionCompare 2 DataTables Pin
Omkar Ghaisas30-Aug-06 4:44
Omkar Ghaisas30-Aug-06 4:44 
AnswerDon't crosspost Pin
leckey30-Aug-06 7:42
leckey30-Aug-06 7:42 
QuestionPorts.SerialPort freezes Pin
sjembek30-Aug-06 4:44
sjembek30-Aug-06 4:44 
AnswerRe: Ports.SerialPort freezes Pin
sjembek30-Aug-06 5:20
sjembek30-Aug-06 5:20 
GeneralRe: Ports.SerialPort freezes Pin
Dave Kreskowiak30-Aug-06 5:51
mveDave Kreskowiak30-Aug-06 5:51 
QuestionSearch Pattern Pin
Sabry190530-Aug-06 4:38
Sabry190530-Aug-06 4:38 
AnswerRe: Search Pattern Pin
mikone30-Aug-06 4:52
mikone30-Aug-06 4:52 
GeneralRe: Search Pattern Pin
Dave Kreskowiak30-Aug-06 5:49
mveDave Kreskowiak30-Aug-06 5:49 
AnswerRe: Search Pattern Pin
Judah Gabriel Himango30-Aug-06 5:12
sponsorJudah Gabriel Himango30-Aug-06 5:12 
AnswerRe: Search Pattern Pin
Judah Gabriel Himango30-Aug-06 7:02
sponsorJudah Gabriel Himango30-Aug-06 7:02 
GeneralRe: Search Pattern Pin
Sabry190530-Aug-06 7:44
Sabry190530-Aug-06 7:44 

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.