Re: x11 resource claim of graph applet in performance toolbar

2023-09-05 Thread Antonio
Hi, Please specify steps to reproduce this. "Large heap" is subjective. "When looking at xrestop you can see 'it' growing every second" is also ambiguous: what's exactly growing every second? I installed xrestop and switched to the Metal Look and Feel, and the xrestop line remains unchanged

Re: x11 resource claim of graph applet in performance toolbar

2023-09-05 Thread Simon IJskes - QCG
If i disable the memory graph, the resource claim growth is immediately reduced. The GC i was talking about, are X11 Graphic Contexts. Gr. Simon On 9/5/23 23:16, Michael Bien wrote: hi Simon, On 04.09.23 11:00, Simon IJskes - QCG wrote: It does take long before netbeans to rise to the

Re: x11 resource claim of graph applet in performance toolbar

2023-09-05 Thread Michael Bien
A JFrame with a button on it creates 18 X11 graphics contexts according to xrestop. (tested on JDK 21 build34) Resizing it or pressing the button will very quickly produce more and will overtake the NetBeans instance which I have running in the background within a few seconds. After reading

Re: x11 resource claim of graph applet in performance toolbar

2023-09-05 Thread Simon IJskes - QCG
I'm unable to run with glx extensions. There i run so fast out of memory that my whole X11 crashes (in about 6 hours or so). See: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7626 Gr. Simon On 9/5/23 23:39, Tamás Cservenák wrote: Am using (somewhat limited, but still) Netbeans on

Re: x11 resource claim of graph applet in performance toolbar

2023-09-05 Thread Tamás Cservenák
Am using (somewhat limited, but still) Netbeans on Linux + Wayland (Intel XE graphics), no problems so far. This is on laptops with Intel XE. My desktop has an NVidia GeForce GFX so I use X11 as Wayland on nVidia is meh. So, I can run NB on Wayland and X11. Linux on both are Fedora 38... Can you

Re: x11 resource claim of graph applet in performance toolbar

2023-09-05 Thread Simon IJskes - QCG
I cant be absolute, but the majority of the graphic contexts is returned with a garbage collection. The problem is, with a large heap, the X11 server resources are exhausted (so it seems) before a garbage collection occurs automatically. Also the Xserver memory consumption can easily go over

Re: x11 resource claim of graph applet in performance toolbar

2023-09-05 Thread Michael Bien
hi Simon, On 04.09.23 11:00, Simon IJskes - QCG wrote: It does take long before netbeans to rise to the top, and some time later rendering artifacts start to occur. These are solved (so it looks) by clicking on the graph forcing GC. This would indicate that UI resources are freed during

Re: x11 resource claim of graph applet in performance toolbar

2023-09-05 Thread Simon IJskes - QCG
xrestop - Display: localhost Monitoring 47 clients. XErrors: 0 Pixmaps: 1407157K total, Other: 491K total, All: 1407648K total res-base Wins GCs Fnts Pxms Misc Pxm mem Other Total PID Identifier 180 930 27 84 594329K 2K 594332K 4070

Re: x11 resource claim of graph applet in performance toolbar

2023-09-05 Thread Simon IJskes - QCG
i've written in a previous email 9/5/23 23:50, how to reproduce in netbeans, but i think you are looking for specifics of my X11 environment i guess? Gr. Simon On 9/5/23 23:39, Tamás Cservenák wrote: Am using (somewhat limited, but still) Netbeans on Linux + Wayland (Intel XE graphics),

Re: x11 resource claim of graph applet in performance toolbar

2023-09-05 Thread Michael Bien
On 05.09.23 23:29, Simon IJskes - QCG wrote: If i disable the memory graph, the resource claim growth is immediately reduced. The GC i was talking about, are X11 Graphic Contexts. ah I see :) I actually almost asked what you meant by "GC" since the numbers didn't make sense to me, but since

Re: x11 resource claim of graph applet in performance toolbar

2023-09-05 Thread Laszlo Kishalmi
Oh, NetBeans is the java-lang-Thread. It was taken on Ubuntu 23.04, on AMD GPU, using Wayland, and Java 17 as runtime. On 9/5/23 16:40, Laszlo Kishalmi wrote: Just adding my data to here: xrestop - Display: localhost   Monitoring 20 clients. XErrors: 0   Pixmaps:  145296K

Re: x11 resource claim of graph applet in performance toolbar

2023-09-05 Thread Laszlo Kishalmi
Just adding my data to here: xrestop - Display: localhost   Monitoring 20 clients. XErrors: 0   Pixmaps:  145296K total, Other:  40K total, All: 145337K total res-base Wins  GCs Fnts Pxms Misc   Pxm mem  Other   Total   PID Identifier 160    44    7    1   13   87   

Release of VSNetBeans 19.0.301

2023-09-05 Thread Martin Balin
Hello, I plan to release VSNetBeans 19.0.301 based from master on Sep 18th. There is number of updates for Language Server features done after 19 was branched which I would like to get to Marketplace. It will be done using special just VSNetBeans build and release. Branch later this week. Thank

Re: x11 resource claim of graph applet in performance toolbar

2023-09-05 Thread Peter Hull
It would be good if someone could try and reproduce this (I don't use netbeans on Linux) but it seems like it might not be Netbeans to blame? Also can you just clarify - are these X resources returned after a GC or is there some amount which is permanently leaked? On Mon, 4 Sept 2023 at 12:40,