Re: [protobuf] Max number of repeated fields?

2010-08-31 Thread Kenton Varda
std::bad_alloc comes from your system's memory allocator, not from protocol buffers. I would guess that the round number is because it creates buckets for each allocation size, and you aren't allocating anything else that is the same size as B. So 0x100 is your system's bucket limit. You

Re: [protobuf] Newbie question - Java Build

2010-08-31 Thread Kenton Varda
You actually need to put it in just the src directory, not java/src. I.e. the root of the C++ code tree. That is where the binary normally ends up when building on Unix systems. On Fri, Aug 27, 2010 at 8:00 AM, jebrick jebr...@gmail.com wrote: I'm having an issue on building the jar version

Re: [protobuf] Why does vsprojects\readme.txt say Win32's use of a separate heap for each DLL

2010-08-31 Thread Kenton Varda
On Mon, Aug 30, 2010 at 3:05 AM, jmansion jman11...@gmail.com wrote: That seems to me a gross over-generalisation. It will create a seperate heap for each C runtime that's loaded as a DLL or linked statically into a DLL, but what you are saying here is wrong. The ability for a single

Re: [protobuf] Failed to compile the protobuf java example

2010-08-31 Thread Kenton Varda
Please read the readmes. Running make install in the root directory installs the C++ libraries only. You need to install the Java and Python versions separately by following the instructions in the corresponding directories. On Tue, Aug 31, 2010 at 3:25 AM, David Portabella