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

Open
4 tasks done
iccyuan opened this issue Jan 16, 2024 · 1 comment
Open
4 tasks done

It looks like there is a memory leak issue #31

iccyuan opened this issue Jan 16, 2024 · 1 comment
Labels
🤞 phase/open Post is being triaged manually

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤞 phase/open Post is being triaged manually
Development

No branches or pull requests

2 participants