re available memory to the xserver how to get the actual size hello in article apr thunder mcrcim mcgill edu mouse mcrcim mcgill edu der mouse writes in article igd fhg de pfuetz igd fhg de matthias pfuetzner writes is there a possibility to determine via x protocol calls the size of free memory available to the xserver no even if you could the answer could be out of date even before you get it even if you grab the server it could be taken up by buffering user actions you should just try to do whatever you want a badalloc error is your indication that insufficient server memory is available der mouse this isn t of much help especially when doing phigs pex via the libphigs as supplied by mit i have much trouble together with pex terminals that don t have enough memory performing the following visual visualid copyfromparent bg pix whitepixel grafik display defaultscreen grafik display xswa backing store notuseful xswa event mask exposuremask structurenotifymask xswa background pixel bg pix graphic window xcreatewindow graphic display rootwindow graphic display defaultscreen graphic display displaywidth graphic display defaultscreen graphic display displayheight graphic display defaultscreen graphic display unsigned int inputoutput visual cweventmask cwbackingstore cwbackpixel xswa xmapwindow graphic display graphic window sync and wait for exposure event xsync graphic display false xwindowevent graphic display graphic window exposuremask exposureevent conn display graphic display conn drawable id graphic window xinfo display graphic display xinfo flags no monitor false monitor is running xinfo flags force client ss false popen xphigs null pxphigs info flags no mon pxphigs info flags client ss pxphigs info display xinfo popen ws pconnid conn phigs ws type x drawable i get core dumps in the popen ws call no badalloc etc simply a core dump so i need some way of getting info about the maximal available memory to the xserver but thanks sincerly matthias matthias pfuetzner work home darmstadt frg zgdv wilhelminenstrasse lichtenbergstrasse pfuetzner igd fhg de pfuetzner zgdvda uucp keith packard said r is different from r that s why we changed the release number
