Dejavu's Clips – Telegram
Dejavu's Clips
2.86K subscribers
592 photos
25 videos
3 files
751 links
个人博客|GitHub 发现|RSS 讯息
群组 https://news.1rj.ru/str/dejavuGroup
Download Telegram
【徽商银行】1分购10元微信立减金

https://p.hsbank.cc:11003/Y7n22a
SMS Activate 宣布停止运营,有额度的用户请尽快登录提现($30起步)

https://sms-activate.io/

话说我好多年没登录过了,还是22年 ChatGPT 刚出来写过一篇 Telegraph 短文注册接码教程,今天一看竟然有 69刀🙊
求助一下,Claude在进行PNPM构建的时候,一下跑几十个node进行,导致RAM耗尽,内核 OOM,这种应该怎么解决?🥲

CLAUDE.md 添加了:
### 1. Vitest 配置 (`vitest.config.ts`)

**必须遵守的限制:**

```typenoscript
export default defineConfig({
test: {
// === 工作线程限制(核心)===
maxConcurrency: 6, // 最多 6 个并发测试
maxThreads: 6, // 最大 6 个线程
minThreads: 2, // 最小 2 个线程

// === 超时限制 ===
testTimeout: 30000, // 30 秒超时
hookTimeout: 10000, // 10 秒钩子超时
teardownTimeout: 5000, // 5 秒清理超时
}
})
```

### 2. Node.js 内存配置

**环境变量(必须设置):**

```bash
# .env.test 或命令行导出
NODE_OPTIONS="--max-old-space-size=4096 --expose-gc"
```

**说明:**
- `--max-old-space-size=4096`: 每个 Node 进程 4GB 内存限制
- `--expose-gc`: 暴露 GC API,用于手动清理

### 3. pnpm 配置 (`.npmrc`)

```ini
# 已配置
workspace-concurrency=4 # 限制 workspace 并发
```

好像都没什么用,实际使用还是会耗光RAM🙂‍↕️
Forwarded from Dejavu N8n Push
Epic Games 限免
[Trine Classic Collection](https://store.epicgames.com/en-US/bundles/trine-classic-collection)
看了下在Epic 已经领取了 59款游戏了,虽然我从来没玩过😂
一个简洁好看的 Hugo 主题 | Narrow

https://github.com/tom2almighty/hugo-narrow
感谢各位的资瓷,今年就到这里吧,频道暂时停更,明年再更新了🥰
8
2026 / 新年快乐!
8
Media is too big
VIEW IN TELEGRAM
之前推荐过的 STranslate 发布了 V2 版本,使用 Fluent Design 2 重构的 UI 非常好看 @dejavuBlog

划词翻译、截图 OCR 翻译、丰富的 插件市场 支持更多服务和接口

唯一遗憾的是使用的 WPF 框架仅支持 #Windows

https://github.com/STranslate/STranslate
3