Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excessive memory usage? #41

Open
minhducsun2002 opened this issue Apr 15, 2024 · 3 comments
Open

Excessive memory usage? #41

minhducsun2002 opened this issue Apr 15, 2024 · 3 comments

Comments

@minhducsun2002
Copy link

I'm seeing excessive memory usage. Memory might be leaking, since I've been running typstudio for hours.

image

$ ps -p 569678 -o pid,cmd,etime,uid,gid
    PID CMD                             ELAPSED   UID   GID
 569678 typstudio                      15:11:37  1000  1000

For your information, I'm using the AUR package:

$ yay -Qi typstudio
Name            : typstudio
Version         : 0.1.0dev.33-1
Description     : desktop application for typst
Architecture    : x86_64
@minhducsun2002
Copy link
Author

I am not sure if it is related, but closing the application seems to take forever....that even Xfce offered to kill it:
image

@Cubxity
Copy link
Owner

Cubxity commented Apr 15, 2024

Do you have a sample project/document?

@minhducsun2002
Copy link
Author

Sure. I made a sample document here.

RAM usage doesn't increase if I leave the app open without typing anything, but as soon as I type it went up really fast.

Before:
image

After another paragraph of lorem ipsum: (I used xdotool type to simulate typing)
image

During typing the memory usage fluctuates, even going down as far as 700MiB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants