Is the 5 MB static resource size limit 5,242,880 bytes or 5,000,000 bytes?Testing callout with zipped static resourceIs it Possible to access SDK From Static Resource?Is there anything wrong with using Static Resource URL without the timestamp?accessing static resource in apexReferencing Static Resource Images in a visualforce pageNeed to call 2 static resources in CSS and Visualforce PageWhy is this Static Resource dynamic reference not working?Static resource stops working on compressionHow can I access the html text in static resource file in lightning client-side controller?Can Static-Resource Files be Listed via Apex?

How can I close a gap between my fence and my neighbor's that's on his side of the property line?

Was there ever a Kickstart that took advantage of 68020+ instructions that would work on an A2000?

What happens to matryoshka Mordenkainen's Magnificent Mansions?

What does a yield inside a yield do?

Why was the battle set up *outside* Winterfell?

What are the spoon bit of a spoon and fork bit of a fork called?

Manager is threatning to grade me poorly if I don't complete the project

How can I support myself financially as a 17 year old with a loan?

Am I getting DDOS from crawlers?

Point of the the Dothraki's attack in GoT S8E3?

Can't remove one character of space in my environment

Why wasn't the Night King naked in S08E03?

What are the differences between credential stuffing and password spraying?

Upside-Down Pyramid Addition...REVERSED!

Has any spacecraft ever had the ability to directly communicate with civilian air traffic control?

Why do we use caret (^) as the symbol for ctrl/control?

SFDX Can query Package Installation Status, can we?

Is it cheaper to drop cargo than to land it?

What happens if I start too many background jobs?

What is the most remote airport from the center of the city it supposedly serves?

Help to understand a simple example of clist in expl3

Can Ghost kill White Walkers or Wights?

Python password manager

Is this homebrew life-stealing melee cantrip unbalanced?



Is the 5 MB static resource size limit 5,242,880 bytes or 5,000,000 bytes?


Testing callout with zipped static resourceIs it Possible to access SDK From Static Resource?Is there anything wrong with using Static Resource URL without the timestamp?accessing static resource in apexReferencing Static Resource Images in a visualforce pageNeed to call 2 static resources in CSS and Visualforce PageWhy is this Static Resource dynamic reference not working?Static resource stops working on compressionHow can I access the html text in static resource file in lightning client-side controller?Can Static-Resource Files be Listed via Apex?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








11















Documentation such as Static Resources says:




A single static resource can be up to 5 MB in size. An organization
can have up to 250 MB of static resources.




We have one growing static resource of size 4,950,663 bytes, so it would be good to know whether the limit is 5,242,880 bytes or 5,000,000 bytes.










share|improve this question






























    11















    Documentation such as Static Resources says:




    A single static resource can be up to 5 MB in size. An organization
    can have up to 250 MB of static resources.




    We have one growing static resource of size 4,950,663 bytes, so it would be good to know whether the limit is 5,242,880 bytes or 5,000,000 bytes.










    share|improve this question


























      11












      11








      11


      1






      Documentation such as Static Resources says:




      A single static resource can be up to 5 MB in size. An organization
      can have up to 250 MB of static resources.




      We have one growing static resource of size 4,950,663 bytes, so it would be good to know whether the limit is 5,242,880 bytes or 5,000,000 bytes.










      share|improve this question
















      Documentation such as Static Resources says:




      A single static resource can be up to 5 MB in size. An organization
      can have up to 250 MB of static resources.




      We have one growing static resource of size 4,950,663 bytes, so it would be good to know whether the limit is 5,242,880 bytes or 5,000,000 bytes.







      static-resources






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 27 at 19:19







      Keith C

















      asked Apr 27 at 17:03









      Keith CKeith C

      97.6k1197224




      97.6k1197224




















          1 Answer
          1






          active

          oldest

          votes


















          9














          It's 5,000,000 bytes. In Salesforce, all storage units are per SI units, where megabyte means 1,000,000, and mebibyte means 1,048,576. Nowhere in Salesforce are the SI units for kibibyte/mebibyte/gibibyte, etc used in the documentation explicitly. Good luck finding this explicitly mentioned in the documentation, but note that this trend is consistent across all such limits (6MB Apex code, 10MB Custom Settings, etc). The rare exception to this rule are the field size limits (e.g. 32KB is 32,767 characters).






          share|improve this answer























          • Thanks and for the broadness of the answer too. So we only have 49,337 bytes to spare...

            – Keith C
            Apr 27 at 17:46






          • 1





            As an addendum, this tends to be a general rule -- kibibytes are technically written KiB, mebibytes MiB, gibibytes GiB; as opposed to KB, MB, GB.

            – Aza
            Apr 27 at 21:53











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "459"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f260296%2fis-the-5-mb-static-resource-size-limit-5-242-880-bytes-or-5-000-000-bytes%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          9














          It's 5,000,000 bytes. In Salesforce, all storage units are per SI units, where megabyte means 1,000,000, and mebibyte means 1,048,576. Nowhere in Salesforce are the SI units for kibibyte/mebibyte/gibibyte, etc used in the documentation explicitly. Good luck finding this explicitly mentioned in the documentation, but note that this trend is consistent across all such limits (6MB Apex code, 10MB Custom Settings, etc). The rare exception to this rule are the field size limits (e.g. 32KB is 32,767 characters).






          share|improve this answer























          • Thanks and for the broadness of the answer too. So we only have 49,337 bytes to spare...

            – Keith C
            Apr 27 at 17:46






          • 1





            As an addendum, this tends to be a general rule -- kibibytes are technically written KiB, mebibytes MiB, gibibytes GiB; as opposed to KB, MB, GB.

            – Aza
            Apr 27 at 21:53















          9














          It's 5,000,000 bytes. In Salesforce, all storage units are per SI units, where megabyte means 1,000,000, and mebibyte means 1,048,576. Nowhere in Salesforce are the SI units for kibibyte/mebibyte/gibibyte, etc used in the documentation explicitly. Good luck finding this explicitly mentioned in the documentation, but note that this trend is consistent across all such limits (6MB Apex code, 10MB Custom Settings, etc). The rare exception to this rule are the field size limits (e.g. 32KB is 32,767 characters).






          share|improve this answer























          • Thanks and for the broadness of the answer too. So we only have 49,337 bytes to spare...

            – Keith C
            Apr 27 at 17:46






          • 1





            As an addendum, this tends to be a general rule -- kibibytes are technically written KiB, mebibytes MiB, gibibytes GiB; as opposed to KB, MB, GB.

            – Aza
            Apr 27 at 21:53













          9












          9








          9







          It's 5,000,000 bytes. In Salesforce, all storage units are per SI units, where megabyte means 1,000,000, and mebibyte means 1,048,576. Nowhere in Salesforce are the SI units for kibibyte/mebibyte/gibibyte, etc used in the documentation explicitly. Good luck finding this explicitly mentioned in the documentation, but note that this trend is consistent across all such limits (6MB Apex code, 10MB Custom Settings, etc). The rare exception to this rule are the field size limits (e.g. 32KB is 32,767 characters).






          share|improve this answer













          It's 5,000,000 bytes. In Salesforce, all storage units are per SI units, where megabyte means 1,000,000, and mebibyte means 1,048,576. Nowhere in Salesforce are the SI units for kibibyte/mebibyte/gibibyte, etc used in the documentation explicitly. Good luck finding this explicitly mentioned in the documentation, but note that this trend is consistent across all such limits (6MB Apex code, 10MB Custom Settings, etc). The rare exception to this rule are the field size limits (e.g. 32KB is 32,767 characters).







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 27 at 17:16









          sfdcfoxsfdcfox

          268k13213462




          268k13213462












          • Thanks and for the broadness of the answer too. So we only have 49,337 bytes to spare...

            – Keith C
            Apr 27 at 17:46






          • 1





            As an addendum, this tends to be a general rule -- kibibytes are technically written KiB, mebibytes MiB, gibibytes GiB; as opposed to KB, MB, GB.

            – Aza
            Apr 27 at 21:53

















          • Thanks and for the broadness of the answer too. So we only have 49,337 bytes to spare...

            – Keith C
            Apr 27 at 17:46






          • 1





            As an addendum, this tends to be a general rule -- kibibytes are technically written KiB, mebibytes MiB, gibibytes GiB; as opposed to KB, MB, GB.

            – Aza
            Apr 27 at 21:53
















          Thanks and for the broadness of the answer too. So we only have 49,337 bytes to spare...

          – Keith C
          Apr 27 at 17:46





          Thanks and for the broadness of the answer too. So we only have 49,337 bytes to spare...

          – Keith C
          Apr 27 at 17:46




          1




          1





          As an addendum, this tends to be a general rule -- kibibytes are technically written KiB, mebibytes MiB, gibibytes GiB; as opposed to KB, MB, GB.

          – Aza
          Apr 27 at 21:53





          As an addendum, this tends to be a general rule -- kibibytes are technically written KiB, mebibytes MiB, gibibytes GiB; as opposed to KB, MB, GB.

          – Aza
          Apr 27 at 21:53

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Salesforce Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f260296%2fis-the-5-mb-static-resource-size-limit-5-242-880-bytes-or-5-000-000-bytes%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form