Solaris 7 OnLine Release Notes (SUNWrdm)

Adjust Colormap To Improve Performance in True-Color Environment (4102599)

Numerous X-requests in Java applications sometimes cause a slow startup in 8-bit color (TrueColor or PseudoColor) environments. This is especially apparent on slower systems. A large part of the startup delay is due to the computation of an optimal dithered colormap by the awt library during initialization.

Workaround: Adjust the colormap size computed at initialization by using the environment variable VIRTCUBESIZE. Set it to a power of 2 between 4 and 32. The default value is 32.


setenv VIRTCUBESIZE 8