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

react-native-v8 and polkadot js #88

Open
Qallitix opened this issue Oct 14, 2021 · 2 comments
Open

react-native-v8 and polkadot js #88

Qallitix opened this issue Oct 14, 2021 · 2 comments

Comments

@Qallitix
Copy link

Qallitix commented Oct 14, 2021

I have project where i use polkadot js and using it with hermes causes performace issues for user. I tried to use v8 and polkadot js, but for some reason it's just freezes on any library method for ever. I don't have any idea why this is could be, maybe you can help me with it? Also i use node-libs-react-native for crypto js and other node js dependencies that this library needs.
Example of code that I try to run: await ApiPromise.create({ provider: new WsProvider('wss://kusama-rpc.polkadot.io/ ') })

@452MJ
Copy link

452MJ commented Nov 22, 2021

try NODE_OPTIONS=--max_old_space_size=8192 react-native start
Running Polkadotjs requires a large amount of memory
Especially on the first run when the progress is stuck at 99%, it takes a while to get to 100%

@Qallitix
Copy link
Author

I think my issue is similar to #89 but I don't have time right know to test it, will test soon and close issue if it fixed.

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