question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Repeated rendering to Canvas crashes app on iOS

See original GitHub issue

Version

0.2.1

Problem Area

react-native-pytorch-core (core package)

Steps to Reproduce

  1. repeat rendering to Canvas

Error message: Message from debugger: Terminated due to memory issue

just before the crush: W0821 11:40:23.873222 1881387008 JSIExecutor.cpp:381] Memory warning (pressure level: 1) received by JS VM, unrecognized pressure level

The crush doesn’t occur when this commit is ignored. v0.2.0 doesn’t crush app.

What kind of measures should I take?

Expected Results

No response

Code example, screenshot, or link to repository

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
raedlecommented, Sep 9, 2022

Thanks @SomaKishimoto, and please let us know if the issue is with PlayTorch!

1reaction
SomaKishimotocommented, Sep 9, 2022

@raedle , thanks for your prompt reply. the answers to your questions are as follows.

  • the Hermes is enabled
  • release mode
  • No further information than the log I shared before

It’s me that brought this question up, but this problem may be caused by something else. I’ll report back if there seems to be a problem with Playtorch.

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS 15: Safari crashes with GPU Process: Canvas Rendering
Hi. iOS 15 Safari crashes when GPU Process: Canvas Rendering is turned on. Please follow these steps to replicate the issue: Turn on...
Read more >
Crashes on iOS 15 · Issue #12908 · openlayers ... - GitHub
When using polygons filled with a canvas pattern, WebView crashes ... Canvas Rendering" feature made crashes in an application go away.
Read more >
Safari crashes when GPU Process: Canvas Rendering is ...
It seems that since iOS v15 the option "GPU Process: Canvas Rendering" is enabled by default, but if it is disabled, go to...
Read more >
iPhone Student Canvas App Crash - Instructure Community
Go to iOS Settings > General > iPhone Storage · Scroll down and select "Student" for the Canvas Student app · Select Delete...
Read more >
iPad/iPhone browser crashing when loading images in ...
There are issues with memory and the way to solve this problem is very simple. 1) Put all your thumbnails in canvas. You...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found