Sorry I mistakenly wrote wrong size of
data which I am dissection. Its 1082 bytes.
Can anyone please provide some insight?
Thanks in advance
Hemant
From:
wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On
Behalf Of Kumar, Hemant
Sent: Thursday, July 24, 2008 5:12
PM
To: wireshark-dev@xxxxxxxxxxxxx
Subject: [Wireshark-dev] Out of
Memory issue
Hello
Hello
My dissector runs in to out of memory problem after
dissecting certain number of packets.
The maximum size of packet which I am dissecting is
1082KB.
Some of the fields in the packets are buffers which I have added to the display
tree also.
It dies out in following TRY statement:--
TRY {
read_packet(cf, dfcode, data_offset);
}
CATCH(OutOfMemoryError) {
|
|
|
|
}
ENDTRY;
}
Any idea or any memory management routine which
needs to be implemented in my
Plugin dissector code?
I read on the link "http://wiki.wireshark.org/KnownBugs/OutOfMemory",
That wireshark should be able to handle data of the
order of GBs.
Also without my plugin dll, the dissector does
go smoothly and shows data payload section under UDP and
TCP but with dissection coming in to picture it runs
in to this error.
Please shed some light on this issue.
Thanks
Hemant