# Почему хостинг использует SWAP?

### 🤔 Что такое SWAP?

SWAP - это раздел на физической памяти диска для временного хранения неактивных элементов ОЗУ.

### 👨‍🔬 Как работает SWAP?

<table data-header-hidden><thead><tr><th width="227"></th><th></th></tr></thead><tbody><tr><td>Запуск сервера</td><td>ОЗУ начинает заполняться</td></tr><tr><td>Активная игра</td><td>ОЗУ активно записывает данные чанков, игроков, и т.д. </td></tr><tr><td>Игрок вышел или GC отработал</td><td>Неактивные элементы переносятся в SWAP, освобождая ОЗУ</td></tr></tbody></table>

{% hint style="warning" %}
💡 Важно:

SWAP никогда не используется в качестве основной ОЗУ на наших узлах. Его смысл прост - освобождать драгоценную ОЗУ, перенося в него неактивные элементы.
{% endhint %}

### 😕 Почему мой сервер может лагать?

* В скачанной сборке могут содержаться вирусы, майнеры, и другие вредоносные программы.
* Нехватка ресурсов в тарифе: Иногда пользователи не понимают, что выбранный тариф не соответствует их потребностям. Поэтому мы советуем проконсультироваться с поддержкой Discord перед покупкой тарифа.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.veroid.net/wiki/answers-to-questions/pochemu-khosting-ispolzuet-swap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
