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

xpra ram memory footprint #3869

Closed
monperrus opened this issue May 28, 2023 · 2 comments
Closed

xpra ram memory footprint #3869

monperrus opened this issue May 28, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@monperrus
Copy link

Describe the bug
xpra is the process that consumes the most ram on my server

$ ps aux --sort -rss
ubuntu      4067  4.2 50.4 3332076 2017916 ?     SLl  May27  31:31 /usr/bin/python3 /usr/bin/xpra start --xvfb=Xvfb -screen 0 2000x1000x24+32 -dpi 16 -nolisten tcp -noreset -auth $XAUTHORITY

System Information (please complete the following information):

  • Server OS: Ubuntu 22
  • Client OS: Ubuntu 22
  • Xpra Server Version 4.4.5
  • Xpra Client Version 4.4.5

Is that normal? Are there workarounds to reduce the memory footprint?

@monperrus monperrus added the bug Something isn't working label May 28, 2023
@totaam
Copy link
Collaborator

totaam commented May 28, 2023

Is this initially or after some time?
This does look excessive. A normal server should use less than 0.5GB with mmap disabled.
RSS includes shared libraries.

Try turning off options, each subsystem you turn off will save some memory.
In particular, --mmap=no, all the codecs, etc.

For more information, see #1836, #1838, #1662 (comment)

@monperrus
Copy link
Author

thanks @totaam

@totaam totaam closed this as not planned Won't fix, can't repro, duplicate, stale Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants