carroll@m.cs.uiuc.edu (02/08/90)
X4 Server Memory Leak: Running Sun3/60 color, SunOS4.0.3, stock X11R4, mix of R3 and R4 clients TWM (R4). My experience has been that moving windows around can cause the server to grow. I got it to grow from about 720 to 888 (with a max of 1016) simply by moving already existing windows around. Eventually continued movement the growth stops. As far as I know, there are no save unders: I don't have a .twmrc file, so TWM runs purely in default mode. BC is not set.
rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (02/08/90)
I got it to grow from about 720 to 888 (with a max of 1016) simply by moving already existing windows around. That by itself is not an indication of a memory leak. Moving windows around, most particularly when nonrectangular windows are on the screen, is not a free operation, the server is maintaining various kinds of region descriptions, and as you move windows those regions can get more complicated. You also generate exposure events, which can potentially cause more output buffers to be allocated (depends on previous history). If you have backing-store enable anywhere, that can also cause memory allocation. I don't see anything particularly alarming in those numbers, per se.