Hi, all
I know one can get the length of an arrayEncoded array. But I wonder how to get the size in memory of an arrayDecoded array. My preOpenStack handler containsMy data in memory is now a tree that's 5 levels deep which is OK. It happens the disk file is 5,4Mo, which seems an awful lot. I want to find what's wrong with the data in the array. The debugger keeps displaying empty windows whenever I try to display the last level of data.
Is that normal?
I want to locate the part of the tree that I suspect is bloated. I can dobut not knowing HOW the data is encoded, this is not really informative. I would like to do something likeAny way to do this?
I know one can get the length of an arrayEncoded array. But I wonder how to get the size in memory of an arrayDecoded array. My preOpenStack handler contains
CODE:
global stackDataput arrayDecode(URL anURL) into stackData -- previously encoded array data
Is that normal?
I want to locate the part of the tree that I suspect is bloated. I can do
CODE:
global stackDataanswer len(arrayEncode(stackData))
CODE:
global stackDataanswer size(stackData) -- gives an erroranswer len(stackData) -- returns 0answer len(stackData[subtreeLevel1]…etc) -- returns 0
Statistics: Posted by Fjord — Fri Dec 06, 2024 6:42 pm