how much can an array list hold

Posted on 2005-05-16
Last Modified: 2010-04-16
What is the theoretical limit of an array list?  Is it a function of system memory, or is it restricted by .NET?

In other words, when will the program crash due to memory consumption?

private void Form1_Load(object sender, System.EventArgs e)
      bool keepGoing = true;
      string newStr = "Microsoft";
      while(keepGoing == true);

Question by:knowlton
    LVL 18

    Assisted Solution

    LVL 37

    Accepted Solution

    The limit would be an integer count etc as posted ... but I believe your performance would degrade to such a point that the application would either

    a) run out of memory
    b) degrade in performance so bad it was useless

    before this ever occurred.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Suggested Solutions

    Article by: Ivo
    Anonymous Types in C# by Ivo Stoykov Anonymous Types are useful when  we do not need to follow usual work-flow -- creating object of some type, assign some read-only values and then doing something with them. Instead we can encapsulate this read…
    In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now