protobuf
protobuf copied to clipboard
Raised STORAGE_ERROR when .proto file is big
raised STORAGE_ERROR : stack overflow or erroneous memory access --ada_out: protoc-gen-ada: Plugin failed with status code 1.
I get this error when trying big .proto file. If I reduce the amount of data in the file then the error disappears.
Could you provide .proto file or backtrace?
First thing I'd try is to increment the environment task stack size, for example, on Linux that is controlled using:
ulimit -s <new-limit>
or even:
ulimit -s unlimited
@mgrojo is right. With ulimit -s 9216 (or more) it works. The reason is pretty printer fails to format the code. I'll think how to avoid this.