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?
What are Bevel Edges
What does the "ep" capability mean?
How to make a pipeline wait for end-of-file or stop after an error?
what is the sudo password for a --disabled-password user
how to find the equation of a circle given points of the circle
What language was spoken in East Asia before Proto-Turkic?
Why must Chinese maps be obfuscated?
How do I reattach a shelf to the wall when it ripped out of the wall?
Normal Map bad shading in Rendered display
Examples of subgroups where it's nontrivial to show closure under multiplication?
What is the most expensive material in the world that could be used to create Pun-Pun's lute?
Binary Numbers Magic Trick
Why do games have consumables?
Combinable filters
How exactly does Hawking radiation decrease the mass of black holes?
Fizzy, soft, pop and still drinks
The Defining Moment
How can I practically buy stocks?
Examples of non trivial equivalence relations , I mean equivalence relations without the expression " same ... as" in their definition?
As an international instructor, should I openly talk about my accent?
Question about かな and だろう
What software provides a code editing environment on iPad?
How to pronounce 'C++' in Spanish
Map of water taps to fill bottles
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;
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
add a comment |
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
add a comment |
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
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
static-resources
edited 26 mins ago
Keith C
asked 2 hours ago
Keith CKeith C
97.4k1197220
97.4k1197220
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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).
Thanks and for the broadness of the answer too. So we only have 49,337 bytes to spare...
– Keith C
1 hour ago
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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).
Thanks and for the broadness of the answer too. So we only have 49,337 bytes to spare...
– Keith C
1 hour ago
add a comment |
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).
Thanks and for the broadness of the answer too. So we only have 49,337 bytes to spare...
– Keith C
1 hour ago
add a comment |
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).
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).
answered 2 hours ago
sfdcfoxsfdcfox
267k13213461
267k13213461
Thanks and for the broadness of the answer too. So we only have 49,337 bytes to spare...
– Keith C
1 hour ago
add a comment |
Thanks and for the broadness of the answer too. So we only have 49,337 bytes to spare...
– Keith C
1 hour ago
Thanks and for the broadness of the answer too. So we only have 49,337 bytes to spare...
– Keith C
1 hour ago
Thanks and for the broadness of the answer too. So we only have 49,337 bytes to spare...
– Keith C
1 hour ago
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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