QuivrHQ / quivr

Open-source RAG Framework for building GenAI Second Brains 🧠 Build productivity assistant (RAG) ⚡️🤖 Chat with your docs (PDF, CSV, ...) & apps using Langchain, GPT 3.5 / 4 turbo, Private, Anthropic, VertexAI, Ollama, LLMs, Groq that you can share with users ! Efficient retrieval augmented generation framework
https://quivr.com
Other
36.26k stars 3.53k forks source link

[Bug]: docker compose failed with " JavaScript heap out of memory" #3335

Open settur1409 opened 4 days ago

settur1409 commented 4 days ago

What happened?

cloned this repo. updated .env with appropriate supabase and grow API keys. getting error when performing, docker compose -f docker-compose.yml up --build

Relevant log output

=> ERROR [frontend builder 4/4] RUN yarn build                                                                                        148.4s
------
 > [frontend builder 4/4] RUN yarn build:
2.385 yarn run v1.22.19
2.671 $ next build
15.87 Attention: Next.js now collects completely anonymous telemetry regarding usage.
15.89 This information is used to shape Next.js' roadmap and prioritize features.
15.89 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
15.89 https://nextjs.org/telemetry
15.89 
16.84    ▲ Next.js 14.1.0
16.84    - Experiments (use at your own risk):
16.84      · instrumentationHook
16.84 
17.68    Creating an optimized production build ...
46.90 Browserslist: caniuse-lite is outdated. Please run:
46.90   npx update-browserslist-db@latest
46.90   Why you should do it regularly: https://github.com/browserslist/update-db#readme
120.1 
120.1 <--- Last few GCs --->
120.1 
120.1 [26:0x7f6c03a77060]   115373 ms: Scavenge (reduce) 1843.3 (2005.3) -> 1843.3 (2006.3) MB, 23.8 / 0.0 ms  (average mu = 0.803, current mu = 0.253) allocation failure; 
120.1 [26:0x7f6c03a77060]   117100 ms: Mark-sweep (reduce) 1949.9 (2112.9) -> 1862.6 (2090.7) MB, 247.0 / 0.1 ms  (+ 122.1 ms in 661 steps since start of marking, biggest step 7.1 ms, walltime since start of marking 3051 ms) (average mu = 0.854, current mu = 0.
120.1 
120.1 <--- JS stacktrace --->
120.1 
120.1 FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
148.1 error Command failed with signal "SIGABRT".
148.1 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
------
failed to solve: process "/bin/sh -c yarn build" did not complete successfully: exit code: 1

Twitter / LinkedIn details

No response

linear[bot] commented 4 days ago

CORE-226 [Bug]: docker compose failed with " JavaScript heap out of memory"

settur1409 commented 4 days ago

CORE-226 [Bug]: docker compose failed with " JavaScript heap out of memory"

I don't have permission to view this page. image

maryinthelab commented 3 days ago

Same error here, and also can’t access the doc that’s being attached.