Open ace-express opened 4 weeks ago
log updated
@ace-express What TOML files do you have in your project?
Are there any large TOML files?
25 lines, common python project descript file
[project]
name = "xxx-xxx-ops"
version = "0.1.0"
description = "Default template for PDM package"
authors = [
{name = "xxxx", email = "xxx@xxx.com"},
]
dependencies = [
"scrapy>=2.11.2",
"requests>=2.32.3",
"pydash>=8.0.1",
"itemadapter>=0.9.0",
"httpx>=0.27.0",
]
requires-python = "==3.12.*"
readme = "README.md"
license = {text = "MIT"}
[tool.pdm]
distribution = false
[tool.pyright]
venvPath = "."
venv = ".venv"
these is only one toml simple file, and it is almost empty python project.
got the same issues on a bigger projet (rust workspace with 20 cargo.toml), 10GB used by taplo on mac m3 with sonoma 14.5
Check for existing issues
Describe the bug / provide steps to reproduce it
open a simple python project and open a file named pyproject.toml,
As time passes, the memory occupied by the taplo process continues to increase
Environment
macOS Sonoma 14.5 Zed 0.139.3
If applicable, add mockups / screenshots to help explain present your vision of the feature
find this issue by
after restart zed, or uninstall toml plugin, fixed this issue.
toml plugin memory usage raise slowly over time, likely 30mb/hours, no upper limit.
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.~/Library/Logs/Zed/Zed.log