Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2001 20:37:53 +0200
From:      "Chojin" <freebsd@tarakan-network.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   about ulimit and virtual memory
Message-ID:  <003101c125b9$6542f930$0245a8c0@chojin>

next in thread | raw e-mail | index | archive | help
Hello,

I have a question about ulimit

when I do ulimit -m 32000 by example, it works, total memory allocated is
32000 kb
but when I do ulimit -v 32000 to allocate more virtual memory it says:
ulimit: cannot raise limit: Invalid argument

I don't understand why...

Here is my ulimit -a
core file size (blocks)  unlimited
data seg size (kbytes)   8192
file size (blocks)       unlimited
max memory size (kbytes) unlimited
stack size (kbytes)      8192
cpu time (seconds)       5400
max user processes       531
pipe size (512 bytes)    1
open files               1064
virtual memory (kbytes)  16384

I need to allocate more virtual memory because when I tried to compile a
program it said
virtual memory exhausted

For information, I have 13 Mb free of 256 Mb total of memory
244 kb swap used of 800 mb total
I'm running FreeBSD 4.3 Stable

Thank you for helping me.

Best regards,

Chojin


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003101c125b9$6542f930$0245a8c0>