We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 211

Workstation XDE: Whatever happened to get_memsize.csh


The reason we used get_memsize.csh was because on certain computers
(normally Apollo) it was common for the machine to have only 8 Mbytes
of RAM. The workstation XACT takes about 15 Mbytes to draw a 3090
at its default scale, so that made the X server start swapping,
effectively killing the machine. Even machines with 16 or 24 Mbytes
could be swamped.

What was really wanted was the amount of RAM on the machine; but that's
almost impossible to determine on most Unix systems.

The only platform where get_memsize.csh would return a reliably useful number
was Apollo.

We modified XACT to default to 14 Mbytes unless that value is overridden
by the user using XACT_MEMSIZE, and stopped distributing get_memsize.csh.

A good rule of thumb is that 14 Mbytes is fine; if your system has more
than 32 Mbytes, then the XACT_MEMSIZE environment variable may be set
to as much as 1/2 of the total. X servers generally are pretty vulnerable
to running out of memory, so a conservative approach is wise.

AR# 211
Date 11/05/1996
Status Archive
Type ??????
Page Bookmarked