Postman 在 Linux 下卡顿是比较常见的问题,通常和 Electron 架构、系统资源、GPU 渲染、沙箱机制 有关。下面按「先快后稳」的方式给你一套排查和解决思路。
--disable-gpu 启动Postman 基于 Electron,GPU 加速在 Linux 上经常翻车。
postman --disable-gpu
如果明显变顺,说明是显卡驱动 / 渲染问题。
Settings → General重启 Postman。
--no-sandbox某些 Linux 桌面环境(尤其是 Wayland)会卡。
postman --no-sandbox
⚠️ 仅本地开发环境使用,不安全环境不建议长期开。
--disable-dev-shm-usageDocker / 小内存机器常见。
postman --disable-dev-shm-usage
可避免 /dev/shm 太小导致卡顿。
Snap 版在 Linux 上非常容易卡。
✅ 推荐:
.tar.gzapt / pacman 原生包卸载 Snap 版:
sudo snap remove postman
下载原生版: https://www.postman.com/downloads/
如果你只是调试接口:
npm i -g newman
newman run collection.json
➡️ 完全不卡,资源占用极低。
都会显著拖慢 UI。
free -h
top
如果内存 < 4G,建议:
| 工具 | 特点 |
|---|---|
| Insomnia | 更轻,Electron 但优化好 |
| Hoppscotch | 网页版,极其流畅 |
| curl / httpie | 极速 |
如果你只是想马上不卡:
postman --disable-gpu --no-sandbox --disable-dev-shm-usage
并 关闭硬件加速。
如果你愿意,可以告诉我:
我可以给你更精准的方案。