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

RangeError: Set maximum size exceeded #6086

Closed
Mutai-Gilbert opened this issue Jun 7, 2024 · 3 comments
Closed

RangeError: Set maximum size exceeded #6086

Mutai-Gilbert opened this issue Jun 7, 2024 · 3 comments
Labels
Missing repro This issue need minimum repro scenario Platform: iOS This issue is specific to iOS

Comments

@Mutai-Gilbert
Copy link

Mutai-Gilbert commented Jun 7, 2024

Description

I am encountering a RangeError: Set maximum size exceeded error when using the runPropUpdates function in the AnimatedNode.js file. This issue occurs when the visitedNodes set grows too large, likely due to an infinite loop or a very large number of nodes being processed. The expected behavior is that the function should efficiently update nodes without exceeding the set size limit. Here’s a screenshot of the error:

Screenshot 2024-06-07 at 13 36 35

Steps to reproduce

  1. Run the app and trigger the animation updates npm start-- --reset cache
  2. Observe the error Set maximum size exceeded in the console.

Snack or a link to a repository

https://github.com/Mutai-Gilbert

Reanimated version

2.17.0

React Native version

0.69.12

Platforms

iOS

JavaScript runtime

Hermes

Workflow

React Native

Architecture

Paper (Old Architecture)

Build type

Debug app & production bundle

Device

iOS simulator

Device model

iPhone 14 Pro, iOS 16.2

Acknowledgements

Yes

@github-actions github-actions bot added Platform: iOS This issue is specific to iOS Missing repro This issue need minimum repro scenario labels Jun 7, 2024
Copy link

github-actions bot commented Jun 7, 2024

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

@efstathiosntonas
Copy link
Contributor

@Mutai-Gilbert your repro link points to your github profile.

@Mutai-Gilbert
Copy link
Author

Okay, let me share with you the correct link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing repro This issue need minimum repro scenario Platform: iOS This issue is specific to iOS
Projects
None yet
Development

No branches or pull requests

2 participants