Xpra-org / xpra-html5

HTML5 client for Xpra
Mozilla Public License 2.0
192 stars 53 forks source link

High memory usage #300

Closed thorstenwagner closed 2 weeks ago

thorstenwagner commented 3 months ago

Describe the bug

I'm using Xpra 5.0.7 and I'm using the html5 client.

When I'm using the html5 client via my laptop I'm observing a memory accumulation when doing certain things. What I do is running napari and within napari I trigger to calculate a UMAP on the GPU. I don't understand why I see a memory accumulation on my laptop?

Any ideas?

totaam commented 3 months ago

Is it the xpra process that is using up your memory or not? Can you run xpra exit and reclaim it? (then you can run xpra recover to recover the session.

thorstenwagner commented 3 months ago

Thanks for the quick reaction.

Well its using all the memory on the machine where I run xpra in a browser. So there is no xpra actually running on that machine.

18.04.2024 14:20:47 Antoine Martin @.***>:

Is it the xpra process that is using up your memory or not? Can you run xpra exit and reclaim it? (then you can run xpra recover to recover the session.

— Reply to this email directly, view it on GitHub[https://github.com/Xpra-org/xpra-html5/issues/300], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AAIP66JCMFD7IRS74TDUU4DY57CC3AVCNFSM6AAAAABGNICUFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRTHA2TIMRXGY]. You are receiving this because you authored the thread. [Verfolgungsbild][https://github.com/notifications/beacon/AAIP66ICANFJR36JKFGSFU3Y57CC3A5CNFSM6AAAAABGNICUFSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT3APVMI.gif]

totaam commented 3 months ago

its using all the memory on the machine where I run xpra in a browser

Ah, you mean that the xpra client running in the browser is using up the memory, not the server. Right?

If that's the case, I will move the ticket to https://github.com/Xpra-org/xpra-html5 Please provide more details, OS, full browser version, xpra-html5 version, connection type (https?), etc..

thorstenwagner commented 3 months ago

Ah, you mean that the xpra client running in the browser is using up the memory, not the server. Right?

Yes!

Manjaro Firefox 125.0.1 (64-bit) http xpra 5.0.7 py312h22d6b59_0 conda-forge

How can I find out the xpra-html5 version? It is not listed by conda list or pip freeze

thorstenwagner commented 3 months ago

Its xpra-html version 12.0 beta

totaam commented 3 months ago

There are memory debugging tools in most browser's developer tools.

totaam commented 2 weeks ago

Not heard back.