Forum Discussion

BVatBBOD's avatar
BVatBBOD
Visitor
8 years ago

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
    • "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.
    • "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?
    • 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.
    • Can confirm that it does not currently block submission. No idea if/when that will change.
    • "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!
    • 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.
    • destruk's avatar
      destruk
      Streaming Star
      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!)