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: 

Roregistry

Hi All,

Could you please help me understand the below issues on registry
As per documentation:
The maximum size of each application registry is 16K bytes. Care should be taken to minimize the amount of data stored and the frequency it is updated.

1) What will happen if by chance we try to store data more than 16K bytes?
2) Would you please help me understand the reason why the updation frequency should be limited any specific thing that causes degradation of performance

Regards,
Prajwal
0 Kudos
1 Reply
EnTerr
Level 8

Re: Roregistry

1) Nothing good, you will lose data (but i think write function will return False on failure, so check)
2) Because it writes to non-volatile storage. It survives reboots but is slower and wears off, see discussion here
0 Kudos