Re: LinuxQuestions.org - Community Bulletin

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

 



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.

It sounds as if you don't have enough physical memory for the task at
hand. If that is the case, no amount of tweaking parameters will solve
your problem; you'll just have to install more memory.

You don't mention which application you're using or what type of
processing is being performed. Depending upon the task, processing a
file may require memory far in excess of the size of the file.

-- 
Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx>
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux