Is there a way to limit Xorg resources allocated to an application, ex.: not to open too many windows or to limit the use of (Xorg), eg. memory allocated by X server (for that application), which could crash entier OS ?