Skip to content

Commit

Permalink
feat: doc (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
icey-yu authored Dec 24, 2024
1 parent 9b9514e commit bca0a0c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docs/guides/gettingStarted/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,29 @@ sidebar_position: 10

---
## 四、 发送文本消息正常,但发送图片失败

---

## 五、 减少Mongo、Kafka内存占用

如果是是使用`docker`部署的各个组件,可以通过在`docker-compose.yml`文件中限制`mongo``kafka`的内存的方式来减小内存的占用。

`mongo`

```yml
mongodb:
environment:
- wiredTigerCacheSizeGB=0.5 # 修改为适当的值,单位GB
```
`kafka`:

```yml
kafka:
environment:
KAFKA_HEAP_OPTS: "-Xms256m -Xmx256m" # 添加该限制
```



---

0 comments on commit bca0a0c

Please sign in to comment.