bug-gnu-pspp
[Top][All Lists]
Advanced

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

PSPP-BUG: [bug #35887] Sort functionality preallocates excessive memory


From: Ben Pfaff
Subject: PSPP-BUG: [bug #35887] Sort functionality preallocates excessive memory
Date: Sun, 18 Mar 2012 17:24:50 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20120201 Iceweasel/3.5.16 (like Firefox/3.5.16)

URL:
  <http://savannah.gnu.org/bugs/?35887>

                 Summary: Sort functionality preallocates excessive memory
                 Project: PSPP
            Submitted by: blp
            Submitted on: Sun Mar 18 10:24:49 2012
                Category: Other
                Severity: 5 - Average
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

John Darrington 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.

This is excessive.  The sort code should allocate memory as actually needed,
not all in advance.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35887>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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