saurav
[TWENTY_SERVER] Out of memory when `npx nx start twenty-server`
I am getting this
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0xb9bbf0 node::Abort() [node]
2: 0xaa27ee [node]
3: 0xd734a0 v8::Utils::ReportOOMFailure(v8::internal::Isolate, char const, bool) [node]
4: 0xd73847 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate, char const, bool) [node]
5: 0xf50c55 [node]
6: 0xf51b58 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node]
7: 0xf62053 [node]
8: 0xf62ec8 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
9: 0xf3d81e v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
10: 0xf3ebe7 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
11: 0xf1fdea v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
12: 0x12e505f v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long, v8::internal::Isolate) [node]
13: 0x1711cb9 [node]
Killed
Warning: command "tsc -b tsconfig.json --incremental" exited with non-zero status code
I have changed NODE_OPTIONS=--max-old-space-size=5120 and VITE_DISABLE_TYPESCRIPT_CHECKER=true and VITE_DISABLE_ESLINT_CHECKER=true , I am using wsl and have a RAM of 8 gb plz help
19 replies
Error while setting up.....
Hello everyone i was setting up twenty crm on my local system but while doing "npx start" i am getting this error
[0] ✓ built in 6.71s [0] [0] > nx run twenty-ui:build [existing outputs match the cache, left as is] [0] [0] vite v5.4.0 building for production... [0] transforming... [0] src/display/avatar/components/Avatar.tsx (1:23): A comment [0] [0] "/#PURE/" [0] [0] in "src/display/avatar/components/Avatar.tsx" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues. [0] src/display/avatar/components/Avatar.tsx (1:23): A comment [0] [0] "/#PURE/" [0] [0] in "src/display/avatar/components/Avatar.tsx" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues. [0] src/display/avatar/components/Avatar.tsx (1:23): A comment and at the end it gets stuck like this: [0] Frontend build not found, assuming it is served independently [0] query: SELECT * FROM current_schema() [0] query: CREATE EXTENSION IF NOT EXISTS "uuid-ossp" [0] query: SELECT version(); [0] query: SELECT * FROM current_schema() [0] query: CREATE EXTENSION IF NOT EXISTS "uuid-ossp" [0] query: SELECT version(); [0] Error: listen EADDRINUSE: address already in use :::3000 [0] at Server.setupListenHandle [as _listen2] (node:net:1817:16) [0] at listenInCluster (node:net:1865:12) [0] at Server.listen (node:net:1953:7) [0] at ExpressAdapter.listen (/home/saurav/twenty/node_modules/@nestjs/platform-express/adapters/express-adapter.js:88:32) [0] at /home/saurav/twenty/node_modules/@nestjs/core/nest-application.js:180:30 [0] at new Promise (<anonymous>) [0] at NestApplication.listen (/home/saurav/twenty/node_modules/@nestjs/core/nest-application.js:169:16) [0] at processTicksAndRejections (node:internal/process/task_queues:95:5) [0] at bootstrap (/home/saurav/twenty/packages/twenty-server/src/main.ts:90:3) plz help
[0] ✓ built in 6.71s [0] [0] > nx run twenty-ui:build [existing outputs match the cache, left as is] [0] [0] vite v5.4.0 building for production... [0] transforming... [0] src/display/avatar/components/Avatar.tsx (1:23): A comment [0] [0] "/#PURE/" [0] [0] in "src/display/avatar/components/Avatar.tsx" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues. [0] src/display/avatar/components/Avatar.tsx (1:23): A comment [0] [0] "/#PURE/" [0] [0] in "src/display/avatar/components/Avatar.tsx" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues. [0] src/display/avatar/components/Avatar.tsx (1:23): A comment and at the end it gets stuck like this: [0] Frontend build not found, assuming it is served independently [0] query: SELECT * FROM current_schema() [0] query: CREATE EXTENSION IF NOT EXISTS "uuid-ossp" [0] query: SELECT version(); [0] query: SELECT * FROM current_schema() [0] query: CREATE EXTENSION IF NOT EXISTS "uuid-ossp" [0] query: SELECT version(); [0] Error: listen EADDRINUSE: address already in use :::3000 [0] at Server.setupListenHandle [as _listen2] (node:net:1817:16) [0] at listenInCluster (node:net:1865:12) [0] at Server.listen (node:net:1953:7) [0] at ExpressAdapter.listen (/home/saurav/twenty/node_modules/@nestjs/platform-express/adapters/express-adapter.js:88:32) [0] at /home/saurav/twenty/node_modules/@nestjs/core/nest-application.js:180:30 [0] at new Promise (<anonymous>) [0] at NestApplication.listen (/home/saurav/twenty/node_modules/@nestjs/core/nest-application.js:169:16) [0] at processTicksAndRejections (node:internal/process/task_queues:95:5) [0] at bootstrap (/home/saurav/twenty/packages/twenty-server/src/main.ts:90:3) plz help
6 replies