All of lore.kernel.org
 help / color / mirror / Atom feed
From: chuck gelm <chuck@gelm.net>
To: kloro@cox.net
Cc: linux-admin@vger.kernel.org
Subject: Re: LinuxQuestions.org - Community Bulletin
Date: Wed, 03 May 2006 05:35:29 +0000	[thread overview]
Message-ID: <44584121.5080904@gelm.net> (raw)
In-Reply-To: <200605022341.42037.kloro@cox.net>

tom arnall wrote:

>i am experiencing memory problems trying to run an application that processes 
>a file of about .5GB. So far my results are:
>
>(1) set ulimit as follows: 
>
>	core file size        (blocks, -c) 0
>	data seg size         (kbytes, -d) unlimited
>	file size             (blocks, -f) unlimited
>	max locked memory     (kbytes, -l) 256000
>	max memory size       (kbytes, -m) 256000
>	open files                    (-n) 1024
>	pipe size          (512 bytes, -p) 8
>	stack size            (kbytes, -s) 8192
>	cpu time             (seconds, -t) unlimited
>	max user processes            (-u) unlimited
>	virtual memory        (kbytes, -v) 768000
>
>This gives me 'out of memory' errors.
>
>(2) set 'virtual memory' very high and the application hogs memory and brings 
>the rest of the system to almost a halt.
>
>Thanks in advance for any help you can give me,
>
>Tom Arnall
>north spit, ca
>  
>

Hi, Tom:

 I don't know anything about 'ulimit', but how much real memory do you have?
I'd try adding another 2 Gigabytes of virtual memory.
Also, try

 nice -n 19 <application>

so that it does not 'hog' the system so much.

Run 'top' to watch how much memory your application uses.

HTH, Chuck


  reply	other threads:[~2006-05-03  5:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200605020407.a7286e265899@www.linuxquestions.org>
2006-05-03  6:41 ` LinuxQuestions.org - Community Bulletin tom arnall
2006-05-03  5:35   ` chuck gelm [this message]
2006-05-03 11:21     ` Al Boldi
     [not found]       ` <4458677E.6000706@gelm.net>
2006-05-03 14:39         ` Al Boldi
2006-05-03 19:34   ` Glynn Clements

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44584121.5080904@gelm.net \
    --to=chuck@gelm.net \
    --cc=kloro@cox.net \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.