1. You can increase the amount of memory dx is using at any one time
by adding the -memory switch when starting. dx -memory 2000MB
2. Depending on the memory restraints you are hitting, you can
increase the size of the small arena (single module memory) but you
will lose large arena space by setting the DX_SMALL_ARENA_FACTOR
environment variable. You may have to turn caching off since the
large arena is where cached items reside.
3. You can optimize caching removing the necessity of all modules to
cache all results. Use the Optimize option under cache-ability in the
edit menu.
4. You can turn off caching all together using the option -cache off
5. You can turn off caching in the Image module (still happens even
with the -cache off by opening the configuration dialog for an image
and turn off internal caching.)
5. Compile on an SGI with the --with-large-arenas turned on. This
enables 64 bit memory access. On your Linux box, this may be possible
but would mean digging down deep in the dx code and tinkering with it
(probably not feasible).
6. Use hardware rendering with OpenGL texture maps. This works well
when you have grids with lots of data. If you can render the colored
grid image out to a file and then load it in and attach it to a very
reduced grid as a texture map, you get the same image but much less
overhead in computation and memory needed.
I'm going to send this to the list for others to see as well.
David
David,
I could ask the list, but as you wrote the thing I figure you are the best
to offer some advice :-)
We are having some memory issues (DX crashing with out of memory msg) with
the echogram .net when we have large volumes of data. We have the option
of reducing the amount of data by increasing the vertical slice, but at
the cost of lost resolution.
I guess turning all caching off might help??
Do you have any quick & easy ways to reduce the memory requirements of DX
for this particular use? (The box it is running on is a dual Xeon 2.6Ghz
with 2.5Gb memory, but as a server we don't have any real control over
what else it may be doing at the time).
Thanks,
Brent Wood
--
.............................................................................
David L. Thompson Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED] 5515 Skyway Drive, Missoula, MT 59804
Phone : (406)756-7472