"D.A. Crawley" wrote: > > Hi, > > Yes I used the RPM 4.3.2 under fedora core 2 and I don't see this problem. > Open DX allocates 1700Mb (or there abouts) of RAM without incident (I > don't specifically request a RAM allocation). > > Have you looked at how much memory you are using System Monitor and > looking at the resource monitor? Does it tell you anything instructive > when openDX loads up?
Hi David, I have been using "top" to watch it and it never uses any swap and the dxexec process uses about 789 MB when I get the message. The total amount of memory "used" by the system is 1.7 GB with 307 MB "free" and 405 MB "cached" and 1.28 GB "active". So, the system is using only 1.28 GB of the RAM on running programs. I took a look at the graphical version (System Monitor) and it shows the same thing. dxexec runs along fine using up to 788 MB but then if I change the variable that is being looked at it tries to use more memory (25 MB in this instance) and the message pops up. I don't understand what it means by "current size" in the message though. The process is using around 789 MB but the message says the current size is about 930 MB. I just did a bit more digging in the Process Listing of System Monitor and it shows VM Size of 913 MB for dxexec. I'm not sure what this refers to. When I think of VM I think of swap space but none is being used. I haven't had the time to compile yet. When this happens I just disconnect from the server and then start the server again. When I switch variables, is there a way to free up the memory that was being used for the old variable so the new variable can use it? Thanks for your help, Steve > > David > > ----------------------------------------------------------------------- > David Crawley, Cavendish Labs, Cambridge, CB3 0HE, England > Semiconductor Physics: 01223 764 171 Astro-Physics: 01223 337 298 > > On Mon, 13 Sep 2004, Steve Cousins wrote: > > > 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 > > -- ______________________________________________________________________ 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
