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

.NET (Core and Framework)

 
GeneralRe: Out of memory unhandled exception Pin
Steve Pullan23-Aug-05 14:54
Steve Pullan23-Aug-05 14:54 
GeneralRe: Out of memory unhandled exception Pin
Silberztein23-Aug-05 17:24
Silberztein23-Aug-05 17:24 
GeneralRe: Out of memory unhandled exception Pin
Steve Pullan23-Aug-05 18:27
Steve Pullan23-Aug-05 18:27 
GeneralRe: Out of memory unhandled exception Pin
Silberztein24-Aug-05 7:51
Silberztein24-Aug-05 7:51 
GeneralRe: Out of memory unhandled exception Pin
Dave Kreskowiak23-Aug-05 14:58
mveDave Kreskowiak23-Aug-05 14:58 
GeneralRe: Out of memory unhandled exception Pin
Silberztein23-Aug-05 15:19
Silberztein23-Aug-05 15:19 
GeneralRe: Out of memory unhandled exception Pin
Steve Pullan23-Aug-05 15:31
Steve Pullan23-Aug-05 15:31 
GeneralRe: Out of memory unhandled exception Pin
Dave Kreskowiak24-Aug-05 6:10
mveDave Kreskowiak24-Aug-05 6:10 
Silberztein wrote:
('a',23,'b',3456,'c',1200023,'d',57)

For some reason I don't understand, my ANTS profiler says each state consumes 20 bytes (I would have thought 4x3 = 12).


Did you also account for the boundry padding between fields and array elements?

Also, an ArrayList, or any other array for that matter, can only be indexed by a 32 bit integer and, therefore, can only hold a maximum of Int32.MaxValue, which is about 2.147 billion, elements. Try and exceed this limit, and you'll get an OutOfMemory exception.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Out of memory unhandled exception Pin
Silberztein24-Aug-05 8:00
Silberztein24-Aug-05 8:00 
GeneralRe: Out of memory unhandled exception Pin
Dave Kreskowiak24-Aug-05 11:22
mveDave Kreskowiak24-Aug-05 11:22 
GeneralRe: Out of memory unhandled exception Pin
Silberztein24-Aug-05 7:57
Silberztein24-Aug-05 7:57 
GeneralSystem.Diagonastics.Process.GetProcesses throws error if the user does not have admin rights. Pin
manivannan.p23-Aug-05 5:16
manivannan.p23-Aug-05 5:16 
GeneralRe: System.Diagonastics.Process.GetProcesses throws error if the user does not have admin rights. Pin
Dave Kreskowiak24-Aug-05 6:11
mveDave Kreskowiak24-Aug-05 6:11 
GeneralOffice Programming: Insert or Merge Password Protected Documents in a Word Add-in Pin
tartancli22-Aug-05 4:14
tartancli22-Aug-05 4:14 
GeneralAbout Properties Pin
chandru_inbox22-Aug-05 4:03
chandru_inbox22-Aug-05 4:03 
GeneralRe: About Properties Pin
Christian Graus22-Aug-05 11:01
protectorChristian Graus22-Aug-05 11:01 
GeneralRe: About Properties Pin
[Marc]22-Aug-05 17:42
[Marc]22-Aug-05 17:42 
GeneralRe: About Properties Pin
Christian Graus22-Aug-05 18:54
protectorChristian Graus22-Aug-05 18:54 
GeneralRe: About Properties Pin
[Marc]23-Aug-05 7:23
[Marc]23-Aug-05 7:23 
QuestionHow can you do Mail Merge using Word from VB.net Pin
Mo_developer22-Aug-05 2:39
Mo_developer22-Aug-05 2:39 
AnswerRe: How can you do Mail Merge using Word from VB.net Pin
tartancli23-Aug-05 3:40
tartancli23-Aug-05 3:40 
QuestionWhat does .net stand for? Pin
Tuwing.Sabado22-Aug-05 1:30
Tuwing.Sabado22-Aug-05 1:30 
AnswerRe: What does .net stand for? Pin
Kevin McFarlane22-Aug-05 1:46
Kevin McFarlane22-Aug-05 1:46 
Generala beginer Pin
hamidreza_buddy21-Aug-05 20:17
hamidreza_buddy21-Aug-05 20:17 
GeneralRe: a beginer Pin
toxcct21-Aug-05 20:38
toxcct21-Aug-05 20:38 

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.