Closed andyuk1986 closed 2 years ago
@BethGriggs Hello, could you please look into the item that I have opened? If this is OK with you I will make the necessary changes. Thanks, Anna.
Hi, yes, I agree this is a good idea now that the v8.getHeapSnapshot()
API is available in all supported versions of Node.js - https://nodejs.org/dist/latest-v16.x/docs/api/v8.html#v8getheapsnapshot
(For anyone else who wants context - this is a good overview post: https://dev.to/bengl/node-js-heap-dumps-in-2021-5akm)
Done, and pull request is sent: https://github.com/infinispan/js-client/pull/78
It is not possible to build (run 'npm install') for js-client on RHEL9 or Fedora 35 with Node.JS version v16.14.0, because of heapdump dependency. Getting the folling error:
I want to suggest to remove the heapdump dependency (it is used for testing purposes for dumping heap and is not used regularly) and replace it with heap dump functionality that NodeJs new version has in it's Core API.