Fri 13 Aug 2010 12:12:03 AM UTC, original submission:
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)
|