
TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2012
11:12 AM
Constant table size exceeded.
I'm suddenly receiving the following compilation error on my Roku 1 box. The same channel compiles and runs fine on the Roku 2.
If I remove arbitrary files from the zip, it will eventually compile, so it's not specific to the code. Is there some kind of function count limit on the Roku 1s that I'm running into? Has anyone else seen this before?
BrightScript Debugger> Constant table size exceeded. (compile error &hb1) in ...
If I remove arbitrary files from the zip, it will eventually compile, so it's not specific to the code. Is there some kind of function count limit on the Roku 1s that I'm running into? Has anyone else seen this before?
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)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
6 REPLIES 6
MazeWizzard
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2012
12:54 PM
Re: Constant table size exceeded.
IDK... but the constant table with a compiler is usually referring to things like quoted strings. Constants. Not function calls.
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2012
01:09 PM
Re: Constant table size exceeded.
I haven't seen that error, but then for the past few months I've been busy developing channels that specifically target Roku 2s.

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2012
01:25 PM
Re: Constant table size exceeded.
There are several constant tables in the interpreter for different kinds of constants. It looks like the only difference between Roku1 and Roku2 is the maximum number of functions has been increased from 512 to 768 on Roku2. I'll file a bug to the effect that it should be the same on all platforms.
--Mark
--Mark

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2012
01:30 PM
Re: Constant table size exceeded.
"RokuMarkn" wrote:
There are several constant tables in the interpreter for different kinds of constants. It looks like the only difference between Roku1 and Roku2 is the maximum number of functions has been increased from 512 to 768 on Roku2. I'll file a bug to the effect that it should be the same on all platforms.
--Mark
Ah ha.. 512 functions max... that's what I needed to know. Thanks!
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)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
MazeWizzard
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2012
01:37 PM
Re: Constant table size exceeded.
Crap. Wrong again. It happens. 😉
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2012
01:51 PM
Re: Constant table size exceeded.
"RokuMarkn" wrote:
There are several constant tables in the interpreter for different kinds of constants. It looks like the only difference between Roku1 and Roku2 is the maximum number of functions has been increased from 512 to 768 on Roku2. I'll file a bug to the effect that it should be the same on all platforms.
--Mark
So does that mean Roku 1 will be getting another firmware update? Or will Roku 2 be bumped back down to 512 functions to match?