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

It looks like there is a memory leak issue #31

Closed
4 tasks done
iccyuan opened this issue Jan 16, 2024 · 3 comments
Closed
4 tasks done

It looks like there is a memory leak issue #31

iccyuan opened this issue Jan 16, 2024 · 3 comments
Labels
👀 no/external This makes more sense somewhere else 👎 phase/no Post cannot or will not be acted on

Comments

@iccyuan
Copy link

iccyuan commented Jan 16, 2024

Initial checklist

Affected packages and versions

7.0.0

Link to runnable example

No response

Steps to reproduce

Render long text with typewriter effect

Expected behavior

Memory usage is normal

Actual behavior

Memory leak occurs after upgrading dependencies:
"react-dom": "^18.2.0",
"react-markdown": "^9.0.0",
"react-router-dom": "^6.15.0",
"rehype-highlight": "7.0.0",
"rehype-katex": "^7.0.0",
"remark-breaks": "^4.0.0",
"remark-gfm": "^4.0.0",
"remark-math": "^6.0.0",

No memory leak dependencies:
"react-dom": "^18.2.0",
"react-markdown": "^8.0.7",
"react-router-dom": "^6.14.1",
"rehype-highlight": "^6.0.0",
"rehype-katex": "^6.0.3",
"remark-breaks": "^3.0.2",
"remark-gfm": "^3.0.1",
"remark-math": "^5.1.1",

Runtime

No response

Package manager

No response

OS

No response

Build and bundle tools

No response

@github-actions github-actions bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Jan 16, 2024
@ChristianMurphy
Copy link
Member

See remarkjs/react-markdown#791 for traces and discussion.
This looks like an issue in highlight js rather than here.

@wooorm
Copy link
Member

wooorm commented Sep 17, 2024

Closed in highlightjs/highlight.js#4095!

@wooorm wooorm closed this as not planned Won't fix, can't repro, duplicate, stale Sep 17, 2024
@wooorm wooorm added the 👀 no/external This makes more sense somewhere else label Sep 17, 2024

This comment has been minimized.

@github-actions github-actions bot added 👎 phase/no Post cannot or will not be acted on and removed 🤞 phase/open Post is being triaged manually labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👀 no/external This makes more sense somewhere else 👎 phase/no Post cannot or will not be acted on
Development

No branches or pull requests

3 participants