Jan 26, 2007 #1 lsman11 Programmer Dec 22, 2004 18 US Anyone have a reference/idea on how many entries an arraylist can hold? Or perhaps any memory size limitations? I am currently using it to hold 8 byte objects... thanks, LSM
Anyone have a reference/idea on how many entries an arraylist can hold? Or perhaps any memory size limitations? I am currently using it to hold 8 byte objects... thanks, LSM
Jan 26, 2007 #2 Guru7777 Programmer Dec 10, 2003 331 US I believe it can hold 2^32 entries. This discusses it somewhat. http://codebetter.com/blogs/sahil.malik/archive/2005/03/19/60093.aspx ---------------------------------------- TWljcm8kb2Z0J3MgIzEgRmFuIQ== Upvote 0 Downvote
I believe it can hold 2^32 entries. This discusses it somewhat. http://codebetter.com/blogs/sahil.malik/archive/2005/03/19/60093.aspx ---------------------------------------- TWljcm8kb2Z0J3MgIzEgRmFuIQ==
Jan 26, 2007 #3 IT4EVR Programmer Feb 15, 2006 462 US You might want to look into the ArrayList.Capacity property... http://msdn2.microsoft.com/en-us/library/system.collections.arraylist.capacity.aspx Upvote 0 Downvote
You might want to look into the ArrayList.Capacity property... http://msdn2.microsoft.com/en-us/library/system.collections.arraylist.capacity.aspx