Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 

Available memory

Hi

When developing a channel - one that uses several assets in the package - if I test it on Roku2 and Roku 3 box and it loads.....

Does that mean all roku2 and roku3 boxes will be OK with the size or does the available memory in a users roku box vary / reduce dependent on the channels they have?
0 Kudos
3 Replies
NewManLiving
Level 7

Re: Available memory

The amount of memory is not the a same on all devices
Your best bet is to telnet a device ip at port 8080
And issue the command r2d2_bitmaps this will give you a dump
Of total, used and remaining memory at any point during the
Execution of your channel Then you can determine a baseline
That would work across the all the devices you are supporting
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
0 Kudos
NewManLiving
Level 7

Re: Available memory

The number of channels does not determine memory availability
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
0 Kudos
TheEndless
Level 7

Re: Available memory

"NewbyDeveloper" wrote:
Does that mean all roku2 and roku3 boxes will be OK

Generally speaking, yes. It should work the same on every Roku of the same model, but you should add a streaming stick in your testing, which should also cover testing the previous generation Roku 2 XD and XS.

"NewManLiving" wrote:
Your best bet is to telnet a device ip at port 8080
And issue the command r2d2_bitmaps this will give you a dump
Of total, used and remaining memory at any point during the
Execution of your channel

Note that this is only necessary if you're using the 2D APIs. If you're not using the 2D APIs, then memory usage from image assets should be handled automatically, without you having to worry about it.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos