[Mew-dist 1068] Re: Stack overflow ?

Iwata Ken'ichi kiwata at example.com
1997年 6月 13日 (金) 15:38:44 JST


つちやさん:
> ところで、MewやMuleに割り当てるメモリって、どこで設定するのでしょう
> か。長いファイルやGNUS使うときなど、ガベージコレクションが頻発して
> やたら時間がかかってしまいます。

僕の .emacs をみると,

     (setq gc-cons-threshold 1000000)

こんなことしてます。

*Number of bytes of consing between garbage collections.
Garbage collection can happen automatically once this many bytes have been
allocated since the last garbage collection.  All data types count.

Garbage collection happens automatically only when `eval' is called.

By binding this temporarily to a large number, you can effectively
prevent garbage collection during a part of the program.
--
いわたけんいち <kiwata at example.com>



Mew-dist メーリングリストの案内