# Failed to decode response from marionette Circle 2.0

**URL:** <https://discuss.circleci.com/t/failed-to-decode-response-from-marionette-circle-2-0/29843>\
**Category:** Running Tests\
**Tags:** 2.0, cucumber, docker, selenium, circle-yml\
**Created:** [April 17, 2019, 10:08am UTC](https://discuss.circleci.com/t/failed-to-decode-response-from-marionette-circle-2-0/29843 "2019-04-17T10:08:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Will-Rowan](https://avatars.discourse-cdn.com/v4/letter/w/f9ae1b/32.png) [@Will-Rowan](https://discuss.circleci.com/u/Will-Rowan)\
**Post date:** [April 17, 2019, 10:08am UTC](https://discuss.circleci.com/t/failed-to-decode-response-from-marionette-circle-2-0/29843/1 "2019-04-17T10:08:35Z")

</div>

Since updating to Circle 2.0 we often see an error towards the end of many of our test runs `Failed to decode response from marionette (Selenium::WebDriver::Error::UnknownError)`

Typically that container then stops running any more tests after that point. We currently pay for 18 containers but usually only run 9 at one time. Spreading some 100 or so tests across the 9 containers.

From much googling it appears to be a memory problem. I understand our containers currently have a 4GB limit. Is it possible for to increase the limit to 8gb or 16gb to see if it fixes the issues?

---

<div class="post-metadata">

**Author:** ![drazisil](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/drazisil/32/24029_2.png) [@drazisil](https://discuss.circleci.com/u/drazisil)\
**Post date:** [April 17, 2019, 12:57pm UTC](https://discuss.circleci.com/t/failed-to-decode-response-from-marionette-circle-2-0/29843/2 "2019-04-17T12:57:11Z")

</div>

Hi Will. You would need access to `resource_class`. [https://circleci.com/docs/2.0/configuration-reference/#resource\_class](https://circleci.com/docs/2.0/configuration-reference/#resource_class)

Can you [open a ticket](https://support.circleci.com/hc/en-us/requests/new) so we can look into what would be needed to enable this for you?
