zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.65k stars 3.04k forks source link

Performance issue in Linux without anything or with anything. just taking ram more than JetBrains Editors #11062

Closed a4arpon closed 6 months ago

a4arpon commented 6 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

image image

Zed is taking more than 2 GB with just a simple starter file of TypeScript Nestjs in my Linux. I thought zed is less memory hungry and greatest code editor of all time. But the problem is there it is taking too much memory.

It is taking more than VSCode and Jetbrains Editors (WebStorm).

There is no snippet support yet also.

But the performance issue is too much.

Environment

OS: Linux Mint 21.3 x86_64 Host: Modern 14 B11MOU REV:1.0 Kernel: 5.15.0-105-generic Packages: 2330 (dpkg) Shell: bash 5.1.16 Resolution: 1600x900 DE: Xfce 4.18 WM: Xfwm4 Terminal: xfce4-terminal CPU: 11th Gen Intel i3-1115G4 (4) @ GPU: Intel Device 9a78 Memory: 3397MiB / 15693MiB

If applicable, add mockups / screenshots to help explain present your vision of the feature

Zed Nightly : 0.134.0

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

DissolveDZ commented 6 months ago

Try building it yourself with the --release flag, works totally fine for me. Comparing to other editors it actually runs better than most of them. I'm on Arch and X11.

I'm sure the nighly build is built in Debug mode, Zed only uses 100mb for me

a4arpon commented 6 months ago

I have a deb version nightly and Release version which is built by my self with release tag. But both are same. they just took my 2gb of ram.

balazsbotond commented 6 months ago

This is a possible duplicate of #10351 which seems to have been reported earlier.