zed icon indicating copy to clipboard operation
zed copied to clipboard

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

Open a4arpon opened this issue 1 year ago • 2 comments

Check for existing issues

  • [X] Completed

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

a4arpon avatar Apr 26 '24 18:04 a4arpon

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

DissolveDZ avatar Apr 26 '24 19:04 DissolveDZ

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.

a4arpon avatar Apr 27 '24 05:04 a4arpon

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

balazsbotond avatar May 09 '24 10:05 balazsbotond