BrightScript Debugger> bsc
roGlobal refcnt= 1
roIntrinsicDouble refcnt= 2
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 2
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 2
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roAssociativeArray refcnt= 2
roString refcnt= 1 [foreground]
roString refcnt= 1 [EXIT_UNKNOWN]
roString refcnt= 1 [homescreen]
roString refcnt= 1 [3000]
roAssociativeArray refcnt= 5
roAssociativeArray refcnt=24
. etc...
BrightScript Debugger> bscs
roArray: 8094
roAssociativeArray: 17617
roBitmap: 54
roBoolean: 12
roByteArray: 1
roCaptionRenderer: 1
roCaptionRendererEvent: 57
roCompositor: 1
roDateTime: 2573
roDeviceInfo: 5
roFilesystem: 1
roFont: 8
roFontRegistry: 1
roFunction: 20
roGlobal: 1
roInt: 232
roIntrinsicDouble: 107
roList: 1
roMessagePort: 1
roRegion: 51
roScreen: 1
roSprite: 57
roString: 64806
roTextureManager: 1
roTimespan: 19
roUrlTransfer: 5
roVideoPlayer: 1
roVideoPlayerEvent: 139
Total # components: 93867
BrightScript Debugger> ? RunGarbageCollector()
COUNT: 1396
ORPHANED: 0
ROOT: 90
BrightScript Debugger> ? RunGarbageCollector()
COUNT: 88541
ORPHANED: 0
ROOT: 751
BrightScript Debugger> malkovich = { }: malkovich.malkovich = malkovich
BrightScript Debugger> gc
total number of current bscs: 1398
number of root bscs: 92
number of orphaned bscs: 0
BrightScript Debugger> malkovich = invalid
BrightScript Debugger> gc
total number of current bscs: 1398
number of root bscs: 91
number of orphaned bscs: 1
BrightScript Debugger> malkovich = [ ]: malkovich.push(malkovich): malkovich = invalid
BrightScript Debugger> gc
total number of current bscs: 1398
number of root bscs: 91
number of orphaned bscs: 1
BrightScript Debugger> dim restart[1e9] 'YAWRR, http://forums.roku.com/viewtopic.php?f=34&t=73863
Connection closed by foreign host.
BrightScript Debugger> ? runGarbageCollector()
COUNT: 64558
ORPHANED: 0
ROOT: 29
"joetesta" wrote:
Thanks for your help EnTerr!
I'm trying as you suggested, after stop, when i enter 'bsc' a ton of stuff scrolls by, all sorts of things: roAssociativeArrays, roStrings, roInts, roVideoPlayerEvents
but what does this tell me; can i find what's referencing and clear up all this stuff?BrightScript Debugger> bsc
roGlobal refcnt= 1
roIntrinsicDouble refcnt= 2
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 2
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 2
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roIntrinsicDouble refcnt= 1
roAssociativeArray refcnt= 2
roString refcnt= 1 [foreground]
roString refcnt= 1 [EXIT_UNKNOWN]
roString refcnt= 1 [homescreen]
roString refcnt= 1 [3000]
roAssociativeArray refcnt= 5
roAssociativeArray refcnt=24
. etc...
here is the summary;BrightScript Debugger> bscs
roArray: 8094
roAssociativeArray: 17617
roBitmap: 54
roBoolean: 12
roByteArray: 1
roCaptionRenderer: 1
roCaptionRendererEvent: 57
roCompositor: 1
roDateTime: 2573
roDeviceInfo: 5
roFilesystem: 1
roFont: 8
roFontRegistry: 1
roFunction: 20
roGlobal: 1
roInt: 232
roIntrinsicDouble: 107
roList: 1
roMessagePort: 1
roRegion: 51
roScreen: 1
roSprite: 57
roString: 64806
roTextureManager: 1
roTimespan: 19
roUrlTransfer: 5
roVideoPlayer: 1
roVideoPlayerEvent: 139
Total # components: 93867