thank you, I really appreciate your work

On 12月9日, 上午2时17分, Kenton Varda <[EMAIL PROTECTED]> wrote:
> On Sun, Dec 7, 2008 at 3:45 AM, nightwalker leo <[EMAIL PROTECTED]>wrote:
>
>
>
> > when I try to parse an addressbook file which has 2^20 records of
> > person , my program complains like this:
> > libprotobuf WARNING D:\protobuf-2.0.2\src\google\protobuf\io
> > \coded_stream.cc:459] Reading dangerously large protocol message.  If
> > the message turns out to be larger than 67108864 bytes, parsing will
> > be halted for security reasons.  To increase the limit (or to disable
> > these warnings), see CodedInputStream::SetTotalBytesLimit() in google/
> > protobuf/io/coded_stream.h.
>
> > how to deal with the problem in an elegant way instead of increasing
> > the limit or simply turning off the warning message?
>
> The documentation for SetTotalBytesLimit() answers your question:
>
> http://code.google.com/apis/protocolbuffers/docs/reference/cpp/google...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to