Hi -

but limiting the stacksize would make the affected program (here: phaser) crash when it wants more memory, right?

Limiting ressources probably makes a lot of sense on a server (where you don't want a single user to hog the system) but not on a workstation.

If, on a workstation, a calculation takes so much memory that it needs to swap, I would expect email and web browsing to become very slow. In that case you need to buy more memory. I use "xosview" to see if my workstation is happy (memory-wise).

best,

Kay

Harry Powell wrote:
***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***


Hi

bash (etc) have "ulimit"

csh/tcsh have "limit" (& "unlimit" if you want to remove limits...).

man or info pages on these should give you hints as to how to proceed.

Many shells have a command 'ulimit', by which you can limit the resources
a process may use. With ksh, for example, you would say
ulimit -m 256000 to restrict the memory of any process to 256000 kB. I
suppose with bash it is very similar. I do not know about csh, though.

Tim

- --
Tim Gruene
Institut fuer anorganische Chemie
Tammannstr. 4
D-37077 Goettingen

GPG Key ID = A46BEE1A


On Wed, 1 Nov 2006, Eleanor Dodson wrote:

How can I stop PHASER grabbing ALL the memory and destroying my machine!!
 Eleanor



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFSSq3UxlJ7aRr7hoRAjVGAKDgXewyaSx+eM36Xt/2jVb+R9bpwwCg29Bg
+QKnpUaVNNRWO3aoJJ/rp8s=
=/7Lk
-----END PGP SIGNATURE-----


Harry


--
Kay Diederichs                http://strucbio.biologie.uni-konstanz.de
email: [EMAIL PROTECTED]    Tel +49 7531 88 4049 Fax 3183
Fachbereich Biologie, Universität Konstanz, Box M647, D-78457 Konstanz

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to