# Render.too\_large

**URL:** <https://forums.creativeclouddeveloper.com/t/render-too-large/1184>\
**Category:** UXP Plugin API\
**Tags:** javascript\
**Created:** [August 22, 2019, 10:29pm UTC](https://forums.creativeclouddeveloper.com/t/render-too-large/1184 "2019-08-22T22:29:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gdreyv](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/gdreyv/32/358_2.png) [@gdreyv](https://forums.creativeclouddeveloper.com/u/gdreyv)\
**Post date:** [August 22, 2019, 10:29pm UTC](https://forums.creativeclouddeveloper.com/t/render-too-large/1184/1 "2019-08-22T22:29:00Z")

</div>

It seems like in some cases createRedentions throws `render.too_large` exception, [https://adobexdplatform.com/plugin-docs/reference/application.html#applicationcreaterenditionsrenditions](https://adobexdplatform.com/plugin-docs/reference/application.html#applicationcreaterenditionsrenditions)  
What are the limits for createRedentions function and what are the workaround?

---

<div class="post-metadata">

**Author:** ![stevekwak](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/stevekwak/32/48_2.png) [@stevekwak](https://forums.creativeclouddeveloper.com/u/stevekwak)\
**Post date:** [August 23, 2019, 2:50pm UTC](https://forums.creativeclouddeveloper.com/t/render-too-large/1184/2 "2019-08-23T14:50:31Z")

</div>

I haven’t personally run into any size limit so far. @schenglooi could you provide a little more detail here for us?

---

<div class="post-metadata">

**Author:** ![gdreyv](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/gdreyv/32/358_2.png) [@gdreyv](https://forums.creativeclouddeveloper.com/u/gdreyv)\
**Post date:** [August 23, 2019, 3:02pm UTC](https://forums.creativeclouddeveloper.com/t/render-too-large/1184/3 "2019-08-23T15:02:40Z")

</div>

That’s the client side error which seems to occur on createRendition call. I can’t provide document details as the error happened before they upload anything. I thought you might have some details as you have access to the code which throws the error 🙂

---

<div class="post-metadata">

**Author:** ![stevekwak](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/stevekwak/32/48_2.png) [@stevekwak](https://forums.creativeclouddeveloper.com/u/stevekwak)\
**Post date:** [August 23, 2019, 5:17pm UTC](https://forums.creativeclouddeveloper.com/t/render-too-large/1184/4 "2019-08-23T17:17:28Z")

</div>

I’ve received the message from Susan  
" it will be considered too large if resulting bitmap size, (width x scaleFactor) x (height x scaleFactor) \> 256MB"  
Was your rendition larger than 256 mb?

---

<div class="post-metadata">

**Author:** ![gdreyv](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/gdreyv/32/358_2.png) [@gdreyv](https://forums.creativeclouddeveloper.com/u/gdreyv)\
**Post date:** [August 23, 2019, 5:39pm UTC](https://forums.creativeclouddeveloper.com/t/render-too-large/1184/5 "2019-08-23T17:39:59Z")

</div>

If I got it right 256Mb is 16k x 16k image or if scale factor is 2 (e.g. for retina) limit will be 8k x 8k. Yes, it might be that size, e.g. 2k x 32k. Thanks for details, I will add limits for the plugin.

---

<div class="post-metadata">

**Author:** ![cpryland](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/cpryland/32/1172_2.png) [@cpryland](https://forums.creativeclouddeveloper.com/u/cpryland)\
**Post date:** [August 24, 2019, 12:29am UTC](https://forums.creativeclouddeveloper.com/t/render-too-large/1184/6 "2019-08-24T00:29:23Z")

</div>

What, only 256MB allowed for a rendition? What kind of limit is that? 😉
