• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

V8-profiler compatibility

Scheduled Pinned Locked Moved General Discussion
6 Posts 3 Posters 2.7k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vatsal
    wrote on last edited by
    #1

    I am trying to use this script https://github.com/felixge/node-memory-leak-tutorial for testing the nodebb app.js memory leaks and heap allocation profiling. But it doesn't loads up the "Profile" tab ( loads source and console tab properly).

    Is app.js compatible with v8-profiler for memory testing?

    V HuggyH 2 Replies Last reply
    0
  • V Offline
    V Offline
    vatsal
    replied to vatsal on last edited by
    #2

    @vatsal said:

    I am trying to use this script https://github.com/felixge/node-memory-leak-tutorial for testing the nodebb app.js memory leaks and heap allocation profiling. But it doesn't loads up the "Profile" tab ( loads source and console tab properly).

    Is app.js compatible with v8-profiler for memory testing?

    @ankitpr89 we may find solution to our problem in this thread.

    1 Reply Last reply
    0
  • mootzvilleM Offline
    mootzvilleM Offline
    mootzville
    wrote on last edited by
    #3

    @vatsal Did you use sudo npm install -g node-inspector

    Global modules can be funky if you don't use sudo.

    Also, have you checked your browser's dev tools and logs to see if things are getting blocked, or what errors are occurring within the browser?

    1 Reply Last reply
    0
  • mootzvilleM Offline
    mootzvilleM Offline
    mootzville
    wrote on last edited by
    #4

    @vatsal I did a little reading...you might be out of luck. https://github.com/node-inspector/node-inspector/issues/126

    Having said that, looks like some people were able to achieve working configurations, so read through the issues page above. You might need to uninstall your current node-inspector and do:

    sudo npm install -g [email protected]

    But it looks like that might also bring it's own set of problems. At the bottom, one of the maintainers links to another issue which is a year old, so it's probably not going to be fixed anytime soon.

    He also mentions this debugger might be worth trying: https://www.npmjs.org/package/bugger

    Good Luck!

    V 1 Reply Last reply
    0
  • V Offline
    V Offline
    vatsal
    replied to mootzville on last edited by
    #5

    @mootzville thanks for your help 👍

    1 Reply Last reply
    0
  • HuggyH Offline
    HuggyH Offline
    Huggy
    replied to vatsal on last edited by
    #6

    @vatsal

    Hey vatsal,

    Have you made any progress of using any of the inspectors with nodebb?

    Just thought I'd check before going off on a wild goose chase!

    I'm having couple of small issues with a couple of plugins so would like to see what's going on under the hood, this will help me get a better understanding of the system faster and help me fix stuff!

    Thanks

    Dave

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development