Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-bugs] [Bug 1715] Memory consumes more and more while reopening pcap files

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Mon, 10 Mar 2008 01:46:49 -0600

On Mon, Mar 03, 2008 at 11:26:56PM +0100, Stig Bjørlykke wrote:
> 2008/3/3, Stig Bjørlykke <stig.bjorlykke@xxxxxxxxx>:
> > It seems like this is when loading a big wireless capture, so the
> > custom columns is not the problem :)
> 
> Or maybe not only on a wireless capture, as I see this on other 
> captures too.  Just more visible on my wireless capture with a lot 
> more packages.
> 
> When I add a custom column I see a bigger jump in memory usage on 
> every reload, so I suppose we have some sort of leakage in the 
> columns.

I've (hopefully) resolved both issues here in SVN revision 24595.  It 
was indirectly caused by the custom column features being added.  It 
actually had to do with a way to store col_expr and col_expr_val data in 
fdata in addition to cf->cinfo so we didn't have to re-dissect every time 
Apply/Prepare a[s] Filter was used, which was a recent fix of mine to 
prevent the custom column's col_expr and col_expr_val from being wiped 
out by repeated epan dissect runs.  I wasn't thinking straight recently 
and I copied and pasted some memory allocations from another part of the 
code so it was allocating memory for strings instead of pointers like 
crazy.  Oops :).

Could you try it and let me know that it's fixed or not?


Steve


  • References:
    • Re: [Wireshark-dev] [Wireshark-bugs] [Bug 1715] Memory consumes more and more while reopening pcap files
      • From: Stig Bjørlykke
    • Re: [Wireshark-dev] [Wireshark-bugs] [Bug 1715] Memory consumes more and more while reopening pcap files
      • From: Stephen Fisher
    • Re: [Wireshark-dev] [Wireshark-bugs] [Bug 1715] Memory consumes more and more while reopening pcap files
      • From: Stig Bjørlykke
    • Re: [Wireshark-dev] [Wireshark-bugs] [Bug 1715] Memory consumes more and more while reopening pcap files
      • From: Stig Bjørlykke
  • Prev by Date: Re: [Wireshark-dev] Disabling warnings as errors in windows wireshark
  • Next by Date: Re: [Wireshark-dev] IO Graphs cumulative plot
  • Previous by thread: Re: [Wireshark-dev] [Wireshark-bugs] [Bug 1715] Memory consumes more and more while reopening pcap files
  • Next by thread: Re: [Wireshark-dev] Patch and features to the EtherCAT plugin
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation