Git Product home page Git Product logo

Comments (5)

mlafeldt avatar mlafeldt commented on August 22, 2024

To be more specific, the parser leak occurs when deno_runtime::shared::maybe_transpile_source transpiles internal ext: and node: modules to JS as part of bootstrapping the runtime. (The sample code in https://github.com/mlafeldt/deno-memleak does not need any transpilation itself.)

from deno.

mlafeldt avatar mlafeldt commented on August 22, 2024

@nathanwhit confirmed that the parser leak originates in SWC: swc-project/swc#9126

from deno.

mlafeldt avatar mlafeldt commented on August 22, 2024

SWC fixed the mentioned problem in https://github.com/swc-project/swc/blob/main/CHANGELOG.md#1612---2024-07-06

I think we need to update deno_ast to benefit from it, which seems to be quite involved.

from deno.

KnorpelSenf avatar KnorpelSenf commented on August 22, 2024

Can this be closed now that #24490 was merged and released?

from deno.

mlafeldt avatar mlafeldt commented on August 22, 2024

I can confirm that this particular leak is gone in Deno 1.45! 🚀

(Still watching #24169, which will hopefully land soon.)

from deno.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.