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

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

PSPP-BUG: [bug #30764] Possible memory leak on pspp


From: Michel Boaventura
Subject: PSPP-BUG: [bug #30764] Possible memory leak on pspp
Date: Fri, 13 Aug 2010 00:12:05 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100812 Gentoo Firefox/3.6.8

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

                 Summary: Possible memory leak on pspp
                 Project: PSPP
            Submitted by: michelboaventura
            Submitted on: Fri Aug 13 00:12:03 2010
                Category: Other
                Severity: 5 - Average
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

I'm trying to figure out a possible memory leak on PSPP. It seems to appear
on both gui and terminal, but on gui the amount of memory is bigger.

Opening only psppire, it expends about 14MB of RAM. When I open the attached
database, it goes to 16MB. So far so good.

When I run a simple frequency (as the syntax attached) it goes to 46MB, even
with output window closed. Running the same frequency several times make
memory goes to 50MB, 56MB, 60MB, 64MB, 68MB and so on.

One time I was able to make pspp uses about 250MB of RAM just playing around
with frequencies.

I can reproduce this on Windows either.

Running only one FREQUENCE with valgrind, the most important peace on it is:

9,584,472 bytes in 399,353 blocks are possibly lost in loss record 8,389 of
8,389
at 0x4C2602E: malloc
by 0x5527061: case_try_create (case.c:62)
by 0x55270B8: case_create (case.c:51)
by 0x5532A25: datasheet_get_row (datasheet.c:550)
by 0x5532AE2: datasheet_reader_read (datasheet.c:705)
by 0x5529BA2: random_reader_read (casereader.c:532)
by 0x5529B20: casereader_read (casereader.c:71)
by 0x553CB64: proc_casereader_read (procedure.c:281)
by 0x5529B20: casereader_read (casereader.c:71)
by 0x5528C63: buffer_case (casereader-shim.c:88)
by 0x5528DE4: casereader_shim_read (casereader-shim.c:111)
by 0x5529BA2: random_reader_read (casereader.c:532) 




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri Aug 13 00:12:04 2010  Name: base.sav.lzma  Size: 270kB   By:
michelboaventura

<http://savannah.gnu.org/bugs/download.php?file_id=21207>
-------------------------------------------------------
Date: Fri Aug 13 00:12:04 2010  Name: log_valgrind.txt.lzma  Size: 60kB   By:
michelboaventura

<http://savannah.gnu.org/bugs/download.php?file_id=21208>
-------------------------------------------------------
Date: Fri Aug 13 00:12:04 2010  Name: syntax.sps  Size: 52B   By:
michelboaventura

<http://savannah.gnu.org/bugs/download.php?file_id=21209>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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