Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Out of Memory issue

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 25 Jul 2008 11:59:36 -0700

On Jul 24, 2008, at 5:12 PM, Kumar, Hemant wrote:

It dies out in following TRY statement:--

TRY {
        read_packet(cf, dfcode, data_offset);
    }
    CATCH(OutOfMemoryError) {

|
|
|
|
    }
    ENDTRY;
  }

Presumably that's the statement in cf_read() in file.c (i.e., presumably your dissector isn't itself reading packets).

Any idea or any memory management routine which needs to be implemented in my
Plugin dissector code?

We'd probably need to see your dissector to see if it's leaking memory, or if it's correctly using some Wireshark facility that uses a lot of memory.