[Top][All Lists]

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

Re: Allocating many workspaces.

From: Ben Pfaff
Subject: Re: Allocating many workspaces.
Date: Sun, 18 Mar 2012 21:50:44 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Ben Pfaff <address@hidden> writes:

> John Darrington <address@hidden> writes:
>> The partcular problem I encountered stems from the fact, that
>> for every category, I'm calling sort_create_writer, which in
>> turn allocates space for a large number of cases - even if they
>> are never used.  I think I can solve that problem by sorting
>> the cases before categorising.  But I'm wondering if similar
>> situations will arise where such an optimisation cannot be
>> done.
> Hmm.  This seems like a bug in the sorting code.  It shouldn't
> allocate all that memory in advance.
> I didn't realize at the time I wrote the sort code that there
> would be a situation where we had a large number of sorters, so I
> didn't think of allocating incrementally.
> I doubt that it will be too difficult to fix this.  I filed it as
> bug #35887.

I fixed this specific bug in sort_create_writer().  The more
general problem, of course, remains.
Ben Pfaff

reply via email to

[Prev in Thread] Current Thread [Next in Thread]