This is a reply to a message from about a year ago (pasted below).
I ran into this error message on a system with RHEL 3.0 (2.4.21-27.0.1.ELsmp
#1 SMP Mon Dec 20 18:47:45 EST 2004 i686 i686 i386 GNU/Linux)
The dx that gave this error was 4.3.2 compiled on a Fedora Core 1 machine
(with --enable-shared --disable-static, but this probably does not matter.
Also, on both machines the Red Hat 9.0 rpms of OpenDX 4.3.2 work fine.)
Anyway, the error message goes away when I pre-pass DXSHMEM=1 to the
/usr/local/bin/dx script.
May have something to do with the SMP kernel.
Bob
___________________________________________________________________________________
* To: opendx <[email protected]>
* Subject: [opendx-users] Out of Memory, cannot expand data segment
* From: Steve Cousins <[EMAIL PROTECTED]>
* Date: Mon, 13 Sep 2004 13:23:48 -0400
* Reply-To: [email protected]
* Sender: [EMAIL PROTECTED]
I have a machine with 2GB of RAM but I am repeatedly getting a message:
"Out of Memory: cannot expand the data segment by 25165824 bytes,
current size is 930216680 bytes"
I've tried:
1. setting the DXMEMORY variable to 1700000000
2. setting the DXMEMORY variable to 1700
3. using "dx -memory 1700" to start DX
4. disconnecting from the server and then reconnecting while setting
the Memory Size option to 1700 MB.
I still can't get DX to run with more than 930 MB of RAM. I know that
the stock answer is to reduce the amount of data that DX is working with
but I don't think that is an option for what I want to do.
The setup of this machine is:
Opteron 148 CPU
2 GB of RAM
4 GB of swap space
Redhat Enterprise Linux Workstation (x86_64) release 3
OpenDX 4.3.2 installed using the opendx-4.3.2-1.rh9.rpm
Maybe this is a limitation of how this version was compiled. If I
compile the source myself is there an option for setting the amount of
memory that can be used?
Thanks for your help.
Steve
--
______________________________________________________________________
Steve Cousins, Ocean Modeling Group Email: [EMAIL PROTECTED]
Marine Sciences, 208 Libby Hall http://rocky.umeoce.maine.edu
Univ. of Maine, Orono, ME 04469 Phone: (207) 581-4302