Comments (2)
🤖
Hello @ichengang! I'm Dosu, a friendly bot here to help you while we're waiting for a human maintainer. I assist with solving bugs, answering questions, and helping contributors. Don't hesitate to ask if you need further information or assistance!
The error message std::bad_alloc
that you're encountering typically indicates that your system has run out of memory. In the context of Docker, this could mean that the Docker container doesn't have enough memory allocated to it.
In your Dockerfile, you're building a Next.js application which can be memory-intensive, especially during the build process. If your Docker container doesn't have enough memory allocated, it could cause this error.
To resolve this issue, you can increase the memory allocated to Docker containers in your Docker settings. If you're using Docker Desktop, you can do this by:
- Opening Docker Desktop
- Clicking on "Settings" or "Preferences"
- Going to the "Resources" section
- Increasing the memory slider to allocate more memory to Docker
If you're using Docker in a command-line environment, you can specify the amount of memory for a container using the -m
or --memory
flag when running docker run
. For example:
docker run -m 4g <your-image>
This command will run your Docker image with 4GB of memory.
Please note that the amount of memory you allocate should be within the limits of your system's available memory. Allocating too much memory to Docker can cause other applications on your system to run out of memory.
As per the Quivr application's requirements, the minimum memory requirement is 4096 units. This information is found in the "memory" field of the "containerDefinitions" array and the root of the JSON file in the .aws/task_definition.json file.
"memory": "4096"
Please try these steps and let me know if the issue persists.
Sources
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.
from quivr.
Thanks for your contributions, we'll be closing this issue as it has gone stale. Feel free to reopen if you'd like to continue the discussion.
from quivr.
Related Issues (20)
- [Bug]: Api Not authenticated HOT 2
- [Bug]: Setting up locally shows screen "Talk to Quivr Unpaid users have access to a free and limited demo of Quivr" HOT 16
- [Bug]: Unable to Access Login Page and Enter Credentials HOT 6
- [Bug]: While creating a new brain in localhost instance of Quivr, I am getting error HOT 16
- [Bug]: HOT 5
- [Bug]:
- [Bug]: error /app/node_modules/sharp: Command failed. HOT 2
- LocalAI support HOT 3
- [Bug]: GPT4 Brain code is not clean
- [Bug]: Unable to start backend-core HOT 8
- [Bug]: "error":"model 'llama2' not found, try pulling it first" HOT 6
- [Bug]: How to use the embedding model of ollama HOT 2
- [Bug]: runtime error: slice bounds out of range [1:0] HOT 1
- [Bug]: No model on ollama was used to answer HOT 16
- [Bug]: Not able to create brain on AWS Linux HOT 1
- [Epic]: Where does the user change the language? HOT 3
- How to set up the groq api? HOT 3
- [Bug]: it's still using OpenAI after set Ollama in .env file HOT 2
- [Feature]: azure open ai vs OpenAI key
- [Bug]: UnpickleableExceptionWrapper('postgrest.exceptions', 'APIError', ('{\'code\': \'42P01\', \'details\': None, \'hint\': None, \'message\': \'relation "public.syncs_active" does not exist\'}',), 'Error 42P01:\nMessage: relation "public.syncs_active" does not exist') HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quivr.