I have a piece of code that takes several rows from a database and creates a dictionary object which I push into an array.
do while index < rs.RecordCount or (not rs.EOF)
set dict = Server.CreateObject("Scripting.Dictionary")
for each x in rs.fields
temp = x.value
dict.add lcase(x.name), temp
next
set records(index) = dict
index = index + 1
rs.moveNext
set dict = nothing
loop
I usually call set object = nothing when done with a dictionary but do I have to go through the whole array here (records) and set each index to "nothing"?
I am wondering because of memory management and unsure how IIS and ASP handles it.