Skip to content

CPU and memory (storage) needs #384

@Vincentvertelknuffel

Description

@Vincentvertelknuffel

Dear noco's,
justt as I was trying out this for the first time (installing via yarn on a debian 12 VPS) I found out that 1 CPU and 2048 MB mem is not enough to get the nocobase started.

So - maybe I missed it - but otherwise it would be nice to add some memory / storage / CPU prerequisites in https://docs.nocobase.com/welcome/getting-started/installation/create-nocobase-app ?

Also it was not clear to me that I had to create the DB before starting the 'yarn create .... ' cmd line, but that is just me being unfamiliair with yarn, i suppose.

Best regards,

Vincent

2025-06-02 14:59:33 [info]  write roles to ACL                           module=acl method=writeRolesToACL app=main reqId=523fb21b-8aea-4290-906a-7603a8e82acb dataSourceKey=main
2025-06-02 14:59:33 [info]  (starting) check for queueing executions     
2025-06-02 14:59:33 [info]  no execution in db queued to process         
2025-06-02 14:59:33 [info]  app has been started                         module=application app=main reqId=523fb21b-8aea-4290-906a-7603a8e82acb dataSourceKey=main

<--- Last few GCs --->

[2899:0x44e84ca0]   170977 ms: Mark-Compact (reduce) 948.3 (1003.4) -> 948.3 (1003.4) MB, 3439.99 / 0.00 ms  (average mu = 0.105, current mu = 0.000) allocation failure; GC in old space requested


<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

 1: 0xb8cf03 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/root/.nvm/versions/node/v20.19.2/bin/node]
 2: 0xf04610 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/root/.nvm/versions/node/v20.19.2/bin/node]
 3: 0xf048f7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/root/.nvm/versions/node/v20.19.2/bin/node]
 4: 0x1116545  [/root/.nvm/versions/node/v20.19.2/bin/node]
 5: 0x1116ad4 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/root/.nvm/versions/node/v20.19.2/bin/node]
 6: 0x112d9c4 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*) [/root/.nvm/versions/node/v20.19.2/bin/node]
 7: 0x112e1dc v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/root/.nvm/versions/node/v20.19.2/bin/node]
 8: 0x112f852 v8::internal::Heap::CollectAllAvailableGarbage(v8::internal::GarbageCollectionReason) [/root/.nvm/versions/node/v20.19.2/bin/node]
 9: 0x110569f v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/root/.nvm/versions/node/v20.19.2/bin/node]
10: 0x10e1d96 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/root/.nvm/versions/node/v20.19.2/bin/node]
11: 0x10d39c4 v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawWithImmortalMap(int, v8::internal::AllocationType, v8::internal::Map, v8::internal::AllocationAlignment) [/root/.nvm/versions/node/v20.19.2/bin/node]
12: 0x10d6cd7 v8::internal::FactoryBase<v8::internal::Factory>::NewRawTwoByteString(int, v8::internal::AllocationType) [/root/.nvm/versions/node/v20.19.2/bin/node]
13: 0x14272c5 v8::internal::String::SlowFlatten(v8::internal::Isolate*, v8::internal::Handle<v8::internal::ConsString>, v8::internal::AllocationType) [/root/.nvm/versions/node/v20.19.2/bin/node]
14: 0xf136ad v8::String::Utf8Length(v8::Isolate*) const [/root/.nvm/versions/node/v20.19.2/bin/node]
15: 0xc92cd2  [/root/.nvm/versions/node/v20.19.2/bin/node]
16: 0x18eb546  [/root/.nvm/versions/node/v20.19.2/bin/node]
2025-06-02 15:04:33 [info]  (cycling) check for queueing executions      
2025-06-02 15:04:33 [info]  no execution in db queued to process         

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions