react-native-v8 icon indicating copy to clipboard operation
react-native-v8 copied to clipboard

react-native-v8 and polkadot js

Open Qallitix opened this issue 2 years ago • 2 comments

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/ ') })

Qallitix avatar Oct 14 '21 09:10 Qallitix

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%

452MJ avatar Nov 22 '21 07:11 452MJ

I think my issue is similar to https://github.com/Kudo/react-native-v8/issues/89 but I don't have time right know to test it, will test soon and close issue if it fixed.

Qallitix avatar Nov 22 '21 07:11 Qallitix