Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 602875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:52:12+00:00 2026-05-13T16:52:12+00:00

MSDN Says: A tree-view control uses memory that is allocated from the heap of

  • 0

MSDN Says:

A tree-view control uses memory that
is allocated from the heap of the
process that creates the tree-view
control. The maximum number of items
in a tree view is based on the amount
of memory that is available in the
heap.

So, anecdotally or otherwise, can someone give me a ballpark of what this means? I expect the stuff I’m doing in a treeview will be limited to < 1000 items for most cases but in some cases closer to 10000.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T16:52:12+00:00Added an answer on May 13, 2026 at 4:52 pm

    It means exactly as it says, the addition of treeview nodes will consume memory (reference objects that are placed on the heap) and the more you add the more it will consume. For your particular circumstance approx 10,000 I dont think memory will be a great issue for most modern day computers.

    With large trees the best way I have found to deal with the loading of the tree is to load a nodes children only when the user expands the node – Loading on demand. This will save loading too many unnecessary nodes and hence reduce the amount of memory required.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The MSDN site says: From your view class's function that handles the WM_CREATE message
The MSDN says that using ReadDirectoryChangesW implies the calling process having the Backup and
MSDN says that GC calls the Win32 VirtualAlloc function to reserve segment of memory
MSDN says , The DataGridView control is a new control that replaces the DataGrid
MSDN says that public static members of System.Windows.Application are thread safe. But when I
What is the significance of the Thread.Join method in C#? MSDN says that it
From the Microsoft website (see msdn.microsoft.com/en-us/library/ms683502(VS.85).aspx ) it clearly says Services cannot directly interact
MSDN says that ParallelEnumerable.GroupBy groups in parallel the elements of a sequence according to
MSDN says http://msdn.microsoft.com/en-us/library/ms256086.aspx degree[@from != Harvard] - All elements where the from attribute is
In books I have seen that it exists but MSDN says it does not???

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.