# هل يجب تقليل إعادة الخبز لتجنب نفاد الذاكرة؟

**URL:** https://meta.discourse.org/t/throttle-rebake-to-keep-from-running-out-of-memory/392914
**Category:** Support
**Created:** [7 يناير 2026، 8:10م UTC](https://meta.discourse.org/t/throttle-rebake-to-keep-from-running-out-of-memory/392914 "2026-01-07T20:10:27Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [7 يناير 2026، 11:33م UTC](https://meta.discourse.org/t/throttle-rebake-to-keep-from-running-out-of-memory/392914/13 "2026-01-07T23:33:28Z")

</div>

> [@DavidO](#):
>
> ربما إذا كان لدى شخص ما إجابة، فيمكن أن تساعد شخصًا آخر أو أنا في المرة القادمة.

لا أعرف عنك، ولكني كنت أعاني مرارًا وتكرارًا من نفاد الذاكرة أثناء عملية إعادة خبز طويلة. أدى إنشاء مساحة مبادلة (swap) بحجم 2 جيجابايت إلى تحسين الوضع (تمت إعادة خبز المزيد من المشاركات)، ولكن لا يزال نفاد الذاكرة يحدث بعد فترة. قمت بزيادة مساحة المبادلة إلى 4 جيجابايت، وتمكنت من إعادة خبز جميع مشاركاتي.

> [@Rebake failing: how to diagnose and fix?](https://meta.discourse.org/t/rebake-failing-how-to-diagnose-and-fix/389064/3?u=canapin):
>
> I increased the swap size from 2 to 4 GB, and the rebake worked. So, I guess it was about memory, though I am a bit surprised by how much it asks (8 GB RAM + 4 GB swap), especially since older rebakes didn’t have any issues with no swap and the same amount of RAM. What should I do if I want to monitor RAM usage and check for any issues? What metric should matter to estimate the memory requirements? Page views per day (5000-8000 + bot spikes once or twice a month)? Database size (23 GB)? …

لم أكن أعرف شيئًا عن ملفات المبادلة بخلاف هذا الدليل [Create a swapfile for your Linux server](https://meta.discourse.org/t/create-a-swapfile-for-your-linux-server/13880?u=canapin%D8%8C) ولكن ChatGPT كان لديه معرفة كافية لمساعدتي في زيادة مساحة المبادلة الخاصة بي دون مشاكل.

---

_[View the full topic](https://meta.discourse.org/t/throttle-rebake-to-keep-from-running-out-of-memory/392914)._
