[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: `Out of memory' problem on commercial program ...



On Mon, 1 Feb 1999, Paul Slootman wrote:

> On Mon 01 Feb 1999, Nikhil Nair wrote:
> 
> > 2.1.  I had it running on my old system (Debian, mostly from about a year
> > ago), but after I upgraded to slink, it failed with `Out of memory'
> > errors.  It's not the kernel - I've tried downgrading again, with no
> 
> What does "ulimit -a" report? Is there anything obvious that is limited
> (e.g. "data seg size", "virtual memory") ?
> 
> You *do* have a large enough swap partition? What does "free" report?

(Typescript below - I also include output from `size filename', as
suggested by Oscar Levi - thanks.)

This machine is a 366MHz 21164 with 128MB DRAM and 256MB swap (roughly) -
and it's doing almost nothing else.  The only ulimit I'm not sure about is
the data seg size - but it appears to be at its hard limit ...

Script started on Mon Feb  1 17:27:17 1999
$ ulimit -a
core file size (blocks)     0
data seg size (kbytes)      20480
file size (blocks)          unlimited
max locked memory (kbytes)  unlimited
max memory size (kbytes)    unlimited
open files                  24
pipe size (512 bytes)       8
stack size (kbytes)         8192
cpu time (seconds)          3600
max user processes          30
virtual memory (kbytes)     unlimited
$ free
             total       used       free     shared    buffers     cached
Mem:        127176     124184       2992      16880      70080      27648
-/+ buffers/cache:      26456     100720
Swap:       265064         24     265040
$ size /usr/bin/mf77
   text	   data	    bss	    dec	    hex	filename
 190336	   4304	  26528	 221168	  35ff0	/usr/bin/mf77
$ exit

Script done on Mon Feb  1 17:27:44 1999

Does that help?  Just to clarify, the executable itself is identical to
the one which worked before the upgrade.

Cheers,

Nikhil.

+--------------------------------+---------------------------------+
| Nikhil Nair                    |                                 |
| Department of Chemistry        | Tel.:  +44 1223 336350 (lab)    |
| University Chemical Laboratory |        +44 1223 368353 (home)   |
| Lensfield Road                 | Email: nn201@cus.cam.ac.uk      |
| CAMBRIDGE                      |        nxn@theor.ch.cam.ac.uk   |
| CB2 1EW                        |                                 |
| England                        |                                 |
+--------------------------------+---------------------------------+




Reply to: