Solaris 7 5/99 Release Notes (SPARC Platform Edition)

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

Many X-requests in Java applications can cause a slow startup in 8-bit color (TrueColor or PseudoColor) environments. This is 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.