Igor Schein on Mon, 13 Jan 2003 18:59:34 -0500


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

Re: qflllgram() infinite loop


On Fri, Jan 10, 2003 at 12:59:49AM +0100, Karim BELABAS wrote:
> On Wed, 8 Jan 2003, Igor Schein wrote:
> > qflllgram(matid(229))
> >
> > never finishes at 4MB stack.
> >
> > Last time it worked was Nov 9 2002.
> >
> > If I double the stack, it works fine.
> 
> Not an infinite loop, intensive (and almost hopeless) garbage collection.
> You're operating in huge dimension and very small space, so that 99.99% of
> the running time is spent in desperation GC.
> 
> I have reduced memory use for such very sparse matrices, so the above is
> fixed. But the same phenomenon is likely to occur again, in larger
> dimensions.
 
In fact it does, for qflll(matid(350)).  How come most of other commands
detect low stack space and ask to double the stack, and this one is
not able to?   

Thanks

Igor