[996] in Zephyr_Bugs

home help back first fref pref prev next nref lref last post

Re: XAllocColor issue on Solaris 2.6

daemon@ATHENA.MIT.EDU (Marc Horowitz)
Tue Feb 22 22:48:37 2000

From: Marc Horowitz <marc@MIT.EDU>
To: Mike Smith <mismith@us.oracle.com>
Cc: bug-zephyr@MIT.EDU
Date: 22 Feb 2000 22:48:31 -0500
In-Reply-To: Mike Smith's message of "Tue, 22 Feb 2000 20:36:47 -0500"
Message-Id: <t53ln4c7f5c.fsf@horowitz.ne.mediaone.net>

Mike Smith <mismith@us.oracle.com> writes:

>> Is there another way to "deallocated" these colors from the color map? 
>> If it requires a cron job or something else I am fine with that, it's
>> just that we typically don't restart a zephyr session for a week or
>> more.  On Solaris 2.51 we had full use of colors and seldom shutdown
>> zwgc sessions (somebody may created a mechanism for de-allocation on
>> colormap our end and I am not aware of it).  

Not without changing the C code in zwgc.  I would check if your X
server configuration was changed from a 24-bit colormap to an 8-bit
colormap when you upgraded Solaris.  If you can change your X servers
to use a 24-bit colormap by default, you'll never run out of colors.

		Marc

home help back first fref pref prev next nref lref last post