What is the maximum size of Scripting.Dictionary?
11,914
From everything I've ever encountered (and can't seem to find any documentation to contradict this), the dictionary has no implicit upper limit and is only limited by the amount of memory you have available.
Author by
Juliusz
Updated on June 09, 2022Comments
-
Juliusz over 1 year
I am trying to find what is the upper limit of Scripting.Dictionary? Is there one?
It could be either limit on number of elements or size of memory. I could not trace any info on that.
-
Juliusz over 10 yearsOne would think but at least data type of Count would put a constrain, but MSDN is very vague in this subject: msdn.microsoft.com/en-us/library/5t9h9579(v=vs.84).aspx
-
Tim Williams over 10 yearsIt's not too hard to figure it out:
? typename(createobject("scripting.dictionary").count)
givesLong