🐕
qwen-coder(gemini-coder)でセグフォとかつらいメモ
2025/08/10 時点で, qwen3-coder が 2000(1000 for oversea?) reqs/day とのことで, claude-code の OSS クローンっぽい gemini-code ベースの qwen-code を試そうとしましたが,
tinyusdz の repo でなんかやろうとすると
[1031453:0x7112000] 82265 ms: Mark-Compact (reduce) 4093.9 (4104.5) -> 4093.9 (4101.5) MB, pooled: 0 MB, 4.25 / 0.00 ms (+ 8.2 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 17 ms) (average mu = 0.804, curre[1031453:0x7112000] 82283 ms: Mark-Compact 4095.9 (4102.5) -> 4095.0 (4105.5) MB, pooled: 0 MB, 15.04 / 0.01 ms (average mu = 0.669, current mu = 0.198) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 0xe16044 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node]
2: 0x11e0dd0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
3: 0x11e10a7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
4: 0x140e985 [node]
5: 0x1428219 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
6: 0x13fc8c8 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
7: 0x13fd7f5 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
8: 0x13d64ce v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
9: 0x1837aec v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]
10: 0x7f65efeac476
Aborted
と出てつらい(メモリは十分ある)
とりあえずは node のオプションでメモリ増やしたが今度は,
│ ✔ SearchText 'MaterialX' │
│ │
│ Found 29022 matches │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
✕ [API Error: Invalid string length]
なぜが無駄に match が多量に見つかる.
qwen-code(gemini-code)はもう少し熟成が必要そうです.
Discussion