Wireshark mailing list archives

Re: Wireshark memory handling


From: Erlend Hamberg <hamberg () stud ntnu no>
Date: Thu, 8 Oct 2009 22:18:39 +0200

On Monday 5. October 2009 20.46.03 Jeff Morriss wrote:
It's been a while, but my memory says that while memory-mapped files are 
great, growing memory mapped files was (significantly) less pleasant. 
  Since Wireshark's allocations tend to be incremental, how would you 
plan to deal with that?

As I just mentioned in the reply to Guy Harris, we plan on doing this step-
wise. Maybe allocate 100 MiB at a time. Maybe 200? :-)

It is also quite possible that Guy Harris' reply to this email is the way to 
go, i.e., growing a file and mmap'ing the new area.

-- 
Erlend Hamberg
"Everything will be ok in the end. If its not ok, its not the end."
GPG/PGP:  0xAD3BCF19
45C3 E2E7 86CA ADB7 8DAD 51E7 3A1A F085 AD3B CF19

Attachment: signature.asc
Description: This is a digitally signed message part.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: