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

Hermes hangs or very slow compilation with react-native #180

Closed
sofiageo opened this issue Jan 30, 2020 · 1 comment
Closed

Hermes hangs or very slow compilation with react-native #180

sofiageo opened this issue Jan 30, 2020 · 1 comment

Comments

@sofiageo
Copy link

sofiageo commented Jan 30, 2020

Hello, I hope this is the correct repository to post this issue. I have a large JSON file (14MB) that is included as a module inside a react-native app. This file causes the optimization process of Hermes to hang, or is extremely slow.

I have a 8c/16t CPU and while I'm not sure if Hermes is using multiple cores, when it hangs it only uses 1 core at 100% for a long time, then I have to cancel the process. Is there a way to debug what's causing it ? As a workaround I have disabled the optimization flag for now.

version of Hermes is: 0.2.1

@sofiageo
Copy link
Author

Damn, just noticed there is already #135 about this. However mine is only hanging on the optimization process of a release build, that's why I have no logs of what's wrong. I guess I should close this issue.

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

1 participant