`walk` introduced in 1.5.2 leads to memory leak + crash
See original GitHub issueVersions + Platform
- [ >= 1.5.2] SDK version -
@sentry/electron@v?.?.?
- [ witnessed on 9 and 10 ] Electron version -
electron@v?.?.?
- [ mac ] Platform -
Windows/macOS/Linux
Description
Unfortunately I don’t have a reproducible demo to show for this, but it appears the introduction of the walk
function in 1.5.2
causes my application to endlessly spin when that function is hit for a very certain input (I can’t pinpoint it, but it is fully replicable). When this occurs, my entire application would freeze and be unclickable, and eventually it would leak enough memory to crash. walk
was seemingly introduced to break circular references, but I think in my case it has caused one that does not occur in 1.5.1
.
While I don’t have a demo, I can get a maintainer or anyone interested in fixing this set up with my app so they can encounter the issue directly.
Issue Analytics
- State:
- Created 3 years ago
- Comments:27 (1 by maintainers)
Top Results From Across the Web
Weird memory leak-like issue : r/feedthebeast - Reddit
Nothing abnormal appears in any of the console logs at any point in time, and no crash report is generated if I just...
Read more >Fixed - This is getting beyond annoying! Fix your PC Client devs ...
Whatever the cause, it appears to be a memory leak. I avoid House of Legends, and the crashes are less frequent. I am...
Read more >Understanding Memory Leaks in Java - Baeldung
In layman's terms, we can think of a memory leak as a disease that degrades our application's performance by blocking vital memory resources....
Read more >How to troubleshoot memory problems in Python
Memory leaks occur when a program asks the kernel to set aside a chunk of memory to use, but then due to a...
Read more >How to spot and fix memory leak, retain cycle and ... - YouTube
In this video, we learn about the common areas where leaks happen- closures- delegates- notification centers- disposeBag/anyCancellables in ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@timfish Thanks! You are right, make beforeBreadcrumb always return null solved my problem.
It seems that the problem is caused by the following log printing (just some exception stack, It doesn’t seems to have any huge objects). localhost-1639020358884.log
Still exists in 2.5.4, unfortunately I don’t have a reproducible demo to show for this, but i can show you the stack.