~/Dropbox/thad/gdrive/backups
❯ npx -p @imbue-ai/gp-treemap gpdu-sqlite ~/personal/lightroom/Lightroom\ Catalog-v13-3.lrcat
Need to install the following packages:
@imbue-ai/gp-treemap@0.4.2
Ok to proceed? (y) y
npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
partitioned into 1 blocks
analyzed /Users/thad/personal/lightroom/Lightroom Catalog-v13-3.lrcat
tables 133
indices 292
columns 798
total bytes 4.71 GB (5,054,349,859 B)
took 9099 ms
wrote /var/folders/c4/b_rdwjcs4gx92kgppdflvzrw0000gn/T/gpdu-sqlite-Lightroom_Catalog-v13-3.lrcat-1777683314970.html (153 KB)
npm notice
npm notice New minor version of npm available! 11.3.0 -> 11.13.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.13.0
npm notice To update run: npm install -g npm@11.13.0
npm notice
thad@Thads-MacBook-Pro-M1 on 🌱 master [📝🤷] took 22s
~/Dropbox/thad/gdrive/backups
➜ npx -p @imbue-ai/gp-treemap gpdu-sqlite --help
Usage: node tools/gpdu-sqlite.js [--no-open] [--color=kind|parent-table|value-type]
[--sample-rows=N] [--include-row-elements-for-all-columns]
[--block-size=N] <db.sqlite> [output.html]
thad@Thads-MacBook-Pro-M1 on 🌱 master [📝🤷]
~/Dropbox/thad/gdrive/backups
➜ npx -p @imbue-ai/gp-treemap gpdu-sqlite ~/personal/lightroom/Lightroom\ Catalog-v13-3.lrcat --include-row-elements-for-all-columns
<--- Last few GCs --->
[22007:0x78f40c000] 33637 ms: Scavenge 4047.7 (4080.8) -> 4037.1 (4071.2) MB, pooled: 0 MB, 1.04 / 0.00 ms (average mu = 0.139, current mu = 0.053) allocation failure;
[22007:0x78f40c000] 33941 ms: Mark-Compact (reduce) 4038.1 (4072.1) -> 4029.7 (4032.8) MB, pooled: 0 MB, 302.92 / 0.00 ms (+ 0.7 ms in 2 steps since start of marking, biggest step 0.7 ms, walltime since start of marking 304 ms) (average mu = 0.119, cu
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 0x104765630 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/opt/homebrew/Cellar/node/24.1.0/bin/node]
2: 0x104893584 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/opt/homebrew/Cellar/node/24.1.0/bin/node]
3: 0x10489353c v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/opt/homebrew/Cellar/node/24.1.0/bin/node]
4: 0x104a704fc v8::internal::Heap::stack() [/opt/homebrew/Cellar/node/24.1.0/bin/node]
5: 0x104a72c3c v8::internal::Heap::OldGenerationConsumedBytes() const [/opt/homebrew/Cellar/node/24.1.0/bin/node]
6: 0x104a72adc v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector, v8::base::TimeTicks) [/opt/homebrew/Cellar/node/24.1.0/bin/node]
7: 0x104a80468 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags)::$_1::operator()() const [/opt/homebrew/Cellar/node/24.1.0/bin/node]
8: 0x104a8010c void heap::base::Stack::SetMarkerAndCallbackImpl<v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags)::$_1>(heap::base::Stack*, void*, void const*) [/opt/homebrew/Cellar/node/24.1.0/bin/node]
9: 0x1051c8980 PushAllRegistersAndIterateStack [/opt/homebrew/Cellar/node/24.1.0/bin/node]
10: 0x104a6eabc v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/opt/homebrew/Cellar/node/24.1.0/bin/node]
11: 0x1049ef72c v8::internal::StackGuard::HandleInterrupts(v8::internal::StackGuard::InterruptLevel) [/opt/homebrew/Cellar/node/24.1.0/bin/node]
12: 0x104dc0c44 v8::internal::Runtime_HandleNoHeapWritesInterrupts(int, unsigned long*, v8::internal::Isolate*) [/opt/homebrew/Cellar/node/24.1.0/bin/node]
13: 0x105289f74 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/opt/homebrew/Cellar/node/24.1.0/bin/node]
14: 0x126aba940
15: 0x1051ecbec Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/24.1.0/bin/node]
16: 0x1051ecbec Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/24.1.0/bin/node]
17: 0x10522b648 Builtins_AsyncFunctionAwaitResolveClosure [/opt/homebrew/Cellar/node/24.1.0/bin/node]
18: 0x1053005f8 Builtins_PromiseFulfillReactionJob [/opt/homebrew/Cellar/node/24.1.0/bin/node]
19: 0x10521aa50 Builtins_RunMicrotasks [/opt/homebrew/Cellar/node/24.1.0/bin/node]
20: 0x1051ea7b0 Builtins_JSRunMicrotasksEntry [/opt/homebrew/Cellar/node/24.1.0/bin/node]
21: 0x1049c8758 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/opt/homebrew/Cellar/node/24.1.0/bin/node]
22: 0x1049c8e04 v8::internal::(anonymous namespace)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/opt/homebrew/Cellar/node/24.1.0/bin/node]
23: 0x1049c8ef4 v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*) [/opt/homebrew/Cellar/node/24.1.0/bin/node]
24: 0x1049edaf0 v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) [/opt/homebrew/Cellar/node/24.1.0/bin/node]
25: 0x1049ed90c v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) [/opt/homebrew/Cellar/node/24.1.0/bin/node]
26: 0x1046b8898 node::InternalCallbackScope::Close() [/opt/homebrew/Cellar/node/24.1.0/bin/node]
27: 0x1046b872c node::InternalCallbackScope::~InternalCallbackScope() [/opt/homebrew/Cellar/node/24.1.0/bin/node]
28: 0x104767f94 node::fs::FileHandle::CloseReq::Resolve() [/opt/homebrew/Cellar/node/24.1.0/bin/node]
29: 0x10476df40 node::fs::FileHandle::ClosePromise()::$_0::__invoke(uv_fs_s*) [/opt/homebrew/Cellar/node/24.1.0/bin/node]
30: 0x10475fd3c node::MakeLibuvRequestCallback<uv_fs_s, void (*)(uv_fs_s*)>::Wrapper(uv_fs_s*) [/opt/homebrew/Cellar/node/24.1.0/bin/node]
31: 0x109bbae0c uv__work_done [/opt/homebrew/Cellar/libuv/1.51.0/lib/libuv.1.dylib]
32: 0x109bbe6bc uv__async_io [/opt/homebrew/Cellar/libuv/1.51.0/lib/libuv.1.dylib]
33: 0x109bcebd0 uv__io_poll [/opt/homebrew/Cellar/libuv/1.51.0/lib/libuv.1.dylib]
34: 0x109bbeb58 uv_run [/opt/homebrew/Cellar/libuv/1.51.0/lib/libuv.1.dylib]
35: 0x1046b93ec node::SpinEventLoopInternal(node::Environment*) [/opt/homebrew/Cellar/node/24.1.0/bin/node]
36: 0x10478e044 node::NodeMainInstance::Run(node::ExitCode*, node::Environment*) [/opt/homebrew/Cellar/node/24.1.0/bin/node]
37: 0x10478ddd8 node::NodeMainInstance::Run() [/opt/homebrew/Cellar/node/24.1.0/bin/node]
38: 0x10473b354 node::Start(int, char**) [/opt/homebrew/Cellar/node/24.1.0/bin/node]
39: 0x18c013da4 start [/usr/lib/dyld]
zsh: abort npx -p @imbue-ai/gp-treemap gpdu-sqlite