Comments (6)
Newer Version of React Native is Available! | |
---|---|
ℹ️ | You are on a supported minor version, but it looks like there's a newer patch available - 0.73.2. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
from metro.
Passing on to Metro
from metro.
Are you able to reproduce outside your private app at all?
@huextrat if you need, you can use this reproducer template https://github.com/react-native-community/reproducer-react-native
from metro.
Missing Reproducible Example | |
---|---|
ℹ️ | We could not detect a reproducible example in your issue report. Please provide either:
|
from metro.
Hi @huextrat, thanks for the report.
Install the debug app on iOS & Android
Start the app on both devices
Open a screen with lazy components
Metro is crashing
I've just tried this with a fresh app and haven't been able to reproduce a crash or anything that'd suggest a leak. Are you able to reproduce outside your private app at all?
I wouldn't expect enabling lazy bundling in itself to increase memory usage particularly, but many parallel bundling requests might be too much.
You can try starting Metro with debug logging and experimenting with the memory limit - if you could record a video demonstrating the behaviour you're seeing, that might help us see what's going on. If you don't want to share publicly, feel free to email my GitHub username @ meta.com.
DEBUG=Metro:* NODE_OPTIONS=--max-old-space-size=8192 yarn start`
from metro.
Thx @robhogan, I've just e-mailed videos showing the problem.
Increasing node memory limit seems to fix the issue, was not able to reproduce with --max-old-space-size=8192
.
I'm trying to create a project to reproduce when I have a bit of time, but it might be complicated. The problem only seems to arise if the load on the metro is high, which I think implies a project of a certain size.
from metro.
Related Issues (20)
- Metro on Windows: Cannot start server in new window because no terminal app was specified HOT 1
- Could not determine the dependecies of task ' :react-native-safe-area-context:generateDebugRFile' HOT 1
- Absolute Paths [global packages] are not working in React Native 0.73.1 HOT 2
- [`metro-transform-plugins`] Function calls prefixed with void together with optional chain (?.) are skipped on production (`dev: false`). HOT 1
- Cannot Conect Metro HOT 2
- web document link not correct HOT 2
- The Metro bundler does not connect to iOS devices HOT 1
- zip
- Is metro will support pnpm in the future? HOT 2
- Could not determine the dependencies of task ' :react-native-gesture-handler:generateDebugRFile' HOT 2
- Unable to resolve module stream HOT 4
- [0.80.4] Metro bundle duplicated code when use unstable_enablePackageExports and unstable_enableSymlinks HOT 3
- No matching version found for [email protected] HOT 1
- Unable to resolve module when using symlinks. HOT 6
- error Cannot read properties of undefined (reading 'transformFile'). TypeError: Cannot read properties of undefined (reading 'transformFile') HOT 2
- Metro uses watchman that leaks watched files HOT 2
- Default metro resolver slower than MetroSymlinksResolver in a monorepo HOT 3
- React Native application does not update on many code changes when using vim HOT 4
- esm HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metro.