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
We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.
Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality.
In the meantime, for additional assistance, visit our Support Site.
Thanks for your patience — we’re excited to share what’s next!