[root@fastgpt-445487 FastGPT]# pnpm build
> [email protected] build /www/wwwroot/FastGPT
> next build
info - Loaded env from /www/wwwroot/FastGPT/.env.local
./src/hooks/usePagination.tsx
98:6 Warning: React Hook useEffect has missing dependencies: 'defaultRequest' and 'mutate'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
./src/hooks/usePaging.ts
68:6 Warning: React Hook useEffect has a missing dependency: 'getData'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
info - Linting and checking validity of types .
<--- Last few GCs --->
[4667:0x6c50340] 133280 ms: Scavenge (reduce) 471.5 (482.0) -> 470.5 (482.0) MB, 2.8 / 0.0 ms (average mu = 0.216, current mu = 0.261) allocation failure;
[4667:0x6c50340] 133374 ms: Scavenge (reduce) 471.5 (482.0) -> 470.6 (482.0) MB, 3.8 / 0.0 ms (average mu = 0.216, current mu = 0.261) allocation failure;
[4667:0x6c50340] 135086 ms: Mark-sweep (reduce) 472.0 (482.2) -> 470.6 (482.2) MB, 1612.6 / 0.0 ms (average mu = 0.210, current mu = 0.199) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0xb7a940 node::Abort() [/www/server/nvm/versions/node/v18.16.0/bin/node]
2: 0xa8e823 [/www/server/nvm/versions/node/v18.16.0/bin/node]
3: 0xd5c940 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/www/server/nvm/versions/node/v18.16.0/bin/node]
4: 0xd5cce7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/www/server/nvm/versions/node/v18.16.0/bin/node]
5: 0xf3a3e5 [/www/server/nvm/versions/node/v18.16.0/bin/node]
6: 0xf3b2e8 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/www/server/nvm/versions/node/v18.16.0/bin/node]
info - Linting and checking validity of types .. 7: 0xf4b7f3 [/www/server/nvm/versions/node/v18.16.0/bin/node]
8: 0xf4c668 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/www/server/nvm/versions/node/v18.16.0/bin/node]
9: 0xf26fce v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/www/server/nvm/versions/node/v18.16.0/bin/node]
10: 0xf28397 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/www/server/nvm/versions/node/v18.16.0/bin/node]
11: 0xf0956a v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/www/server/nvm/versions/node/v18.16.0/bin/node]
12: 0x12ce7af v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/www/server/nvm/versions/node/v18.16.0/bin/node]
13: 0x16fb6b9 [/www/server/nvm/versions/node/v18.16.0/bin/node]
info - Linting and checking validity of types .