Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raised STORAGE_ERROR when .proto file is big #17

Open
ghost opened this issue Nov 22, 2022 · 4 comments
Open

Raised STORAGE_ERROR when .proto file is big #17

ghost opened this issue Nov 22, 2022 · 4 comments

Comments

@ghost
Copy link

ghost commented Nov 22, 2022

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.

@reznikmm
Copy link
Owner

Could you provide .proto file or backtrace?

@ghost
Copy link
Author

ghost commented Nov 22, 2022

instruments.zip

@mgrojo
Copy link
Collaborator

mgrojo commented Nov 22, 2022

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

@reznikmm
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants