On Tue, 15 Oct 2013 21:13:18 -0700 (PDT)
Rahul Vishnoi <vishnoi.rahu...@gmail.com> wrote:

> Hi All,
>         i wanna store 1 billion unique numbers into files using
> protocol buffer but the default file size limit is set 64MB how can i
> store 1 billion numbers into file.
> Thanks

Do you even have a billion numbers in RAM at the same time? (Sure, you
might, but you also might not). The size limit can be changed (I don’t
remember the exact function, but I’m pretty sure there was one), but you
might be better off splitting up the numbers into a bunch of smaller
messages instead.
Christopher Head

Attachment: signature.asc
Description: PGP signature

Reply via email to