Coder Social home page Coder Social logo

Comments (3)

lloyd avatar lloyd commented on August 17, 2024

please report your node version and more specific steps to reproduce - like minimal javascript code to reproduce the problem? Here's my attempt:

$ valgrind node node_modules/.bin/mocha tests
==6719== Memcheck, a memory error detector
==6719== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==6719== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==6719== Command: node node_modules/.bin/mocha tests
==6719== 
==6719== Warning: noted but unhandled ioctl 0x5451 with no size/direction hints
==6719==    This could cause spurious value errors to appear.
==6719==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==6719== Warning: noted but unhandled ioctl 0x5451 with no size/direction hints
==6719==    This could cause spurious value errors to appear.
==6719==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==6719== Warning: noted but unhandled ioctl 0x5451 with no size/direction hints
==6719==    This could cause spurious value errors to appear.
==6719==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==6719== Warning: set address range perms: large range [0x26c583d5a000, 0x26c5a3d5a000) (noaccess)
==6724== Warning: invalid file descriptor -1 in syscall close()
==6724== Warning: invalid file descriptor -1 in syscall close()
==6724== Warning: invalid file descriptor -1 in syscall close()

  ....

  ✔ 4 tests complete (246ms)

==6719== 
==6719== HEAP SUMMARY:
==6719==     in use at exit: 949,582 bytes in 214 blocks
==6719==   total heap usage: 2,100 allocs, 1,886 frees, 10,729,889 bytes allocated
==6719== 
==6719== LEAK SUMMARY:
==6719==    definitely lost: 0 bytes in 0 blocks
==6719==    indirectly lost: 0 bytes in 0 blocks
==6719==      possibly lost: 496 bytes in 3 blocks
==6719==    still reachable: 949,086 bytes in 211 blocks
==6719==         suppressed: 0 bytes in 0 blocks
==6719== Rerun with --leak-check=full to see details of leaked memory
==6719== 
==6719== For counts of detected and suppressed errors, rerun with: -v
==6719== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2)

from node-memwatch.

lloyd avatar lloyd commented on August 17, 2024

(closing for now, please re-open with specifics)

from node-memwatch.

strk avatar strk commented on August 17, 2024

Sorry I completely forgot how I obtained that. It was likely with adding snapshot taking commands without preventing the GC run loop (as the documentation said it would have been safe to do).

But keep closed, I'll open again when able to reproduce.

from node-memwatch.

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.