Ticket #1603 (new bug) — at Version 1

Opened 12 years ago

Last modified 11 years ago

ACTIVE_BUFFERS “leak”

Reported by: coke Owned by:
Priority: normal Milestone:
Component: GC Version: trunk
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description (last modified by coke) (diff)

See the attached file - against trunk, it creates 1000 codestrings in a loop and throws them away. Here's the output:

@ START
    TOTAL_MEM_ALLOC............: 262144
    ACTIVE_PMCS................: 914
    ACTIVE_BUFFERS.............: 218
    TOTAL_PMCS.................: 1024
    TOTAL_BUFFERS..............: 1137
    HEADER_ALLOCS_SINCE_COLLECT: 0
    MEM_ALLOCS_SINCE_COLLECT...: 0
    TOTAL_COPIED...............: 5136
    IMPATIENT_PMCS.............: 0
@ POST LOOP
    TOTAL_MEM_ALLOC............: 262144
    ACTIVE_PMCS................: 917
    ACTIVE_BUFFERS.............: 4151
    TOTAL_PMCS.................: 7168
    TOTAL_BUFFERS..............: 4548
    HEADER_ALLOCS_SINCE_COLLECT: 0
    MEM_ALLOCS_SINCE_COLLECT...: 0
    TOTAL_COPIED...............: 40112
    IMPATIENT_PMCS.............: 0
@ END
    TOTAL_MEM_ALLOC............: 262144
    ACTIVE_PMCS................: 917
    ACTIVE_BUFFERS.............: 152
    TOTAL_PMCS.................: 7168
    TOTAL_BUFFERS..............: 4548
    HEADER_ALLOCS_SINCE_COLLECT: 0
    MEM_ALLOCS_SINCE_COLLECT...: 0
    TOTAL_COPIED...............: 43104
    IMPATIENT_PMCS.............: 0

Note the ACTIVE_BUFFER output ; Looks like something is hanging onto these headers a bit too long, but running another sweep makes them go away?

Change History

Changed 12 years ago by coke

Changed 12 years ago by coke

  • description modified (diff)
Note: See TracTickets for help on using tickets.