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

Crash with large strings when running on Hermes (React Native) #168

Open
gatouillatpy opened this issue Dec 16, 2022 · 0 comments
Open

Crash with large strings when running on Hermes (React Native) #168

gatouillatpy opened this issue Dec 16, 2022 · 0 comments

Comments

@gatouillatpy
Copy link

{
  "stack": [
    "client/node_modules/lz-string/libs/lz-string.js/context_wc@214:27",
    "client/node_modules/lz-string/libs/lz-string.js/_compress@107:20",
    "client/src/logic/Logger.ts/compress@403:59",
    "client/node_modules/@babel/runtime/helpers/asyncToGenerator.js/key@3:19",
    "client/node_modules/@babel/runtime/helpers/asyncToGenerator.js/asyncGeneratorStep@22:8",
    "client/node_modules/promise/setimmediate/core.js/fn@37:11",
    "client/node_modules/promise/setimmediate/core.js/tryCallOne@123:14",
    "client/node_modules/react-native/Libraries/Core/Timers/JSTimers.js/apply@248:17",
    "client/node_modules/react-native/Libraries/Core/Timers/JSTimers.js/callback@112:6",
    "client/node_modules/react-native/Libraries/Core/Timers/JSTimers.js/_callTimer@162:4",
    "client/node_modules/react-native/Libraries/Core/Timers/JSTimers.js/_callReactNativeMicrotasksPass@413:11",
    "client/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js/_reactNativeMicrotasksCallback@390:11",
    "client/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js/__callReactNativeMicrotasks@132:11",
    "client/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js/fn@367:8",
    "client/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js/__guard@131:9"
  ],
  "message": "Property storage exceeds 196607 properties"
}

This is due to a limitation of Hermes, but I don't think they have any plan to fix it: facebook/hermes#139

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