Re: [protobuf] Memory leaks in VS2008 using 2.4.1

2012-03-26 Thread Eric J. Holtman
On 3/26/2012 7:25 PM, Henner Zeller wrote: > > Can you drill down _what_ object is leaking ? In particular, did you > narrow down that it is indeed protobufs that cause the leak ? > You need to find the leaking object first, otherwise it is a bit hard > do diagnose what is going on. > I just fin

Re: [protobuf] destroying a protocol buffer message in debug mode is almost 500 times slower than in release mode

2012-08-07 Thread Eric J. Holtman
On 8/7/2012 6:09 PM, Chris Morris wrote: > Use the following file with your own timing code around the call to *delete > msg* in main(). When running in debug mode, it is taking 473 times as long, > on average, as when running without debugging. Debugging mode generally has a ton more heap consi

Re: [protobuf] Re: destroying a protocol buffer message in debug mode is almost 500 times slower than in release mode

2012-08-07 Thread Eric J. Holtman
On 8/7/2012 6:16 PM, Chris Morris wrote: > I forgot to ask my question: > *Does anyone know why this is happening? If so, is there a way that I can > get this code to run much faster in debug mode?* > You might be able to compile the protobuf modeules without debugging. beware that this op

Re: [protobuf] implications of compiling protocol buffers without stl debugging info

2012-08-08 Thread Eric J. Holtman
On 8/8/2012 4:51 PM, Chris Morris wrote: > I want to keep STL debugging *for the rest of my project*. This leads me to > consider compiling the protocol buffers project without STL debugging info. > > What are the implications of this? > Unless you are *very* careful, this is going to lead to p