Bill Allombert on Wed, 15 Jan 2003 19:05:30 +0100

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

Re: qflllgram() infinite loop

On Wed, Jan 15, 2003 at 09:33:37AM -0800, Ilya Zakharevich wrote:
> On Wed, Jan 15, 2003 at 04:13:24PM +0100, Karim BELABAS wrote:
> > 1) If you want to handle huge problems, allocate enough memory.
> > 2) If you don't know what "enough" is, guess, set \gm 2, and react accordingly.
> > 
> > This is not user-friendly, but it doesn't happily overload the machine as
> > most other systems would.
> Why this fixation with "overloading" hardware?  The usual approach is
> that the programer/user's time and resources are much more valuable
> than those of the computer...

The problem with allocating memory will be the same: we will have to decide
whether we allocate more memory or we use gerepile to reduce the stack.
Chosing to always allocate more memory will quickly lead to the kernel
thrashing to death which is worse for the user.

As for programmer time, this will be some work to implement and we are not
specially skilled for that task.