# Same code can not be re-build on spaces today due to CPUAllocator error

**URL:** <https://discuss.huggingface.co/t/same-code-can-not-be-re-build-on-spaces-today-due-to-cpuallocator-error/15756>\
**Category:** Spaces\
**Created:** [March 16, 2022, 4:07am UTC](https://discuss.huggingface.co/t/same-code-can-not-be-re-build-on-spaces-today-due-to-cpuallocator-error/15756 "2022-03-16T04:07:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yangapku](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/yangapku/32/4249_2.png) [@yangapku](https://discuss.huggingface.co/u/yangapku)\
**Post date:** [March 16, 2022, 4:07am UTC](https://discuss.huggingface.co/t/same-code-can-not-be-re-build-on-spaces-today-due-to-cpuallocator-error/15756/1 "2022-03-16T04:07:09Z")

</div>

Hi, I have a space app named OFA-Visual\_Question\_Answering which is a gradio-based demo of visual QA using our OFA model (link [GitHub - OFA-Sys/OFA: Official repository of OFA. Paper: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Framework](https://github.com/OFA-Sys/OFA)). Before today, the demo could be successfully built and run on Spaces. However, when I re-built today (without any change to code, just edited the readme), I met a runtime error. The error information is “RuntimeError: [enforce fail at CPUAllocator.cpp:68] . DefaultCPUAllocator: can’t allocate memory: you tried to allocate 1891908608 bytes. Error code 12 (Cannot allocate memory)”. Is the hardware setting of the deployment worker been changed? Is there a solution to fix the problem? Thank you very much!
