MAE: "Not enough shared memory..." Message On Startup (7/94)


When I start Macintosh Application Environment (MAE) on my SPARCStation, I get a message saying, "Not enough shared memory, using malloc..." How do I fix this?

When MAE notices that it is running on your SPARCStation's local
display, it attempts to enhance graphics performance by communicating
with the X server using the "X Shared Memory Extension." For MAE to
succeed at this, your Solaris kernel must be configured to support
several large shared memory segments. If MAE is unable to obtain the
shared memory it requires (based on the size and color depth of the MAE
window), it falls back to a less efficient communications scheme based
on large malloc'd X image structures.

To ensure that sufficient Solaris kernel resources are available to
support efficient execution of MAE, Apple suggests adjusting the file
"/etc/system" to include the following:

set shmsys:shminfo_shmmax=16777216
set shmsys:shminfo_shmseg=8

These shmsys parameters should adequately cover most screen and color
depth configurations and will take affect after rebooting your system.

IMPORTANT: Talk with your system administrator first before making any
changes to this file. While it is unlikely that adjusting these
parameters will have adverse effects on other software, Apple Computer
will not support or take responsibility for any problems you may
encounter.

NOTE: The only reason to make this change to your /etc/system file is if
you get the "Not enough shared memory, using malloc..." message
mentioned above.


Support Information Services


Published Date: Feb 19, 2012