BVatBBOD
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2018
12:59 AM
Static Analysis Error: Package size exceeds 4 megabytes
When I upload a package and run static analysis on it I am getting this error:
Static Analysis Results
1 ERROR
Package size exceeds 4 megabytes
The .zip is 3,242,560 bytes and the .pkg file is 3,245,536 bytes. That is 3.2 megabyte, so what's the deal?
Thanks,
Blake
Static Analysis Results
1 ERROR
The .zip is 3,242,560 bytes and the .pkg file is 3,245,536 bytes. That is 3.2 megabyte, so what's the deal?
Thanks,
Blake
Join the Roku Developers Slack Workspace for quicker help and great dev collaboration: http://tiny.cc/nrdf0y
9 REPLIES 9
kartigas
Newbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2018
07:13 AM
Re: Static Analysis Error: Package size exceeds 4 megabytes
I have the same behavior

marcelo_cabral
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2018
02:15 PM
Re: Static Analysis Error: Package size exceeds 4 megabytes
A tip, try to reduce your images using a service like:
https://tinypng.com/
I does impressive work on PNG files (normally the villains on channel size)
https://tinypng.com/
I does impressive work on PNG files (normally the villains on channel size)
BVatBBOD
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2018
10:07 AM
Re: Static Analysis Error: Package size exceeds 4 megabytes
"marcelo.cabral" wrote:
A tip, try to reduce your images using a service like:
https://tinypng.com/
I does impressive work on PNG files (normally the villains on channel size)
The issue is not image sizes or lack of image compression. The issue is that we are well under the 4MB limit and are still getting this error.
Join the Roku Developers Slack Workspace for quicker help and great dev collaboration: http://tiny.cc/nrdf0y
ioan
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2018
10:12 AM
Re: Static Analysis Error: Package size exceeds 4 megabytes
"BVatBBOD" wrote:"marcelo.cabral" wrote:
A tip, try to reduce your images using a service like:
https://tinypng.com/
I does impressive work on PNG files (normally the villains on channel size)
The issue is not image sizes or lack of image compression. The issue is that we are well under the 4MB limit and are still getting this error.
Maybe roku reports the size of the package unzipped? What's the size of all your source files, images, etc?
https://github.com/e1ioan/
http://rokucam.com
http://rokucam.com
kevintwister
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2018
10:28 AM
Re: Static Analysis Error: Package size exceeds 4 megabytes
We're getting this now also. Ironically, we've reduced the size of our packet from previously released versions considerably. I don't think we could reduce it more without really destroying the quality of the channel.
Hopefully, this won't cause an issue of them publishing our updates.
Hopefully, this won't cause an issue of them publishing our updates.
BVatBBOD
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2018
10:30 AM
Re: Static Analysis Error: Package size exceeds 4 megabytes
Can confirm that it does not currently block submission. No idea if/when that will change.
Join the Roku Developers Slack Workspace for quicker help and great dev collaboration: http://tiny.cc/nrdf0y
kevintwister
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2018
11:47 AM
Re: Static Analysis Error: Package size exceeds 4 megabytes
"BVatBBOD" wrote:
Can confirm that it does not currently block submission. No idea if/when that will change.
That's good information to know :). Thanks!

squirreltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2018
01:00 PM
Re: Static Analysis Error: Package size exceeds 4 megabytes
I don't use Static Analysis, but in my experience, anything over some number - around 3 mb - will cause the web portal to say there was an error, although there actually was not. If you go back to my channels and select the channel, the new pkg will be there, ready to hit submit.
Kinetics Screensavers
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2018
03:30 PM
Re: Static Analysis Error: Package size exceeds 4 megabytes
In my experience, I'd delete the zip and make a new one, making sure any hidden files are removed before uploading. (Thumbs.DB I'm looking at you!)