Application array adds rows on its own - memory leak?
hello
i have gone through day or 2 of frustrating testing application , discovered bizarre.
i build array of scope application , read in contents sql 2000. works well.
to determine length of array, use (as always) arraylen.
whenever need access array (every page - it's main menu), load array again.
problem sometimes, irrationally, arraylen changes. increments one. yet there nulls in these records.
so when looping through array everytime, cannot rely on arraylen , have manually loop through , "probe" array e cftry determine largest row "valid value". talk hack!
i have globally searched anywhere possibly adding record not doing that.
is symptom of memory leak? or might doing bad!?
we're using cf7.1
robert
i have gone through day or 2 of frustrating testing application , discovered bizarre.
i build array of scope application , read in contents sql 2000. works well.
to determine length of array, use (as always) arraylen.
whenever need access array (every page - it's main menu), load array again.
problem sometimes, irrationally, arraylen changes. increments one. yet there nulls in these records.
so when looping through array everytime, cannot rely on arraylen , have manually loop through , "probe" array e cftry determine largest row "valid value". talk hack!
i have globally searched anywhere possibly adding record not doing that.
is symptom of memory leak? or might doing bad!?
we're using cf7.1
robert
most likely, not locking application var when writing it.
or sql query adding rows.
otherwise, attach self-contained sql , cf code duplicates problem.
or sql query adding rows.
otherwise, attach self-contained sql , cf code duplicates problem.
More discussions in ColdFusion
adobe
Comments
Post a Comment