Skip to content

memlab run --scenario results in a bad state #29

Closed

Description

@wctiger

I am running the tool following the documentation, but the runs ended in a bad state - retried a few times but still same results.

$ memlab run --scenario dv-report-explorer.js
'command' is not recognized as an internal or external command,
operable program or batch file.
page-load[35.9MB](baseline)[s1] > action-on-page[34.5MB](target)[s2] > revert[34.7MB](final)[s3]

total time: 1.9min
Memory usage across all steps:
LIBERTY LIBERTY LIBERTY
LIBERTY LIBERTY LIBERTY
LIBERTY LIBERTY LIBERTY
                                   !             H|H|H|H|H           H__________________________________             H|§|§|§|H           H|* * * * * *|---------------------|             H|§|∞|§|H           H| * * * * * |---------------------|             H|§|§|§|H           H|* * * * * *|---------------------|             H|H|H|H|H           H| * * * * * |---------------------|             H|H|H|H|H           H|---------------------------------|          ===============        H|---------------------------------|            /| _   _ |          H|---------------------------------|            (| O   O |)          H|---------------------------------|            /|   U   |          H-----------------------------------             |  =/  |           H              _..._/            H              _|I/|_            H      _______/| H |/_______    H     /           / /          H    |          | | /         |  H    |          ||o||          |  H    |    |     ||o||     |    |  H    |    |     ||o||     |    |  H   Carl Pilcher
test ing testi ng tes ting te sti ng test ing t estin g testin

OS: Windows 10.0.19044
Node: 16.14.0

Activity

  1. JacksonGL commented on Sep 19, 2022

    @JacksonGL
    Member

    @wctiger Were you running in cmd, powershell or git bash? Is this memlab command from a npm install or built from the Git repo?

  2. wctiger commented on Sep 19, 2022

    @wctiger
    Author

    @wctiger Were you running in cmd, powershell or git bash? Is this memlab command from a npm install or built from the Git repo?

    I did try powershell and git bash, both with same results. I'm running it after an npm install -g.

  3. JacksonGL commented on Sep 20, 2022

    @JacksonGL
    Member

    @wctiger I tried memlab (in Git Bash and powershell on Windows), but I wasn't able to reproduce the error you had. Can you share a screenshot?

  4. wctiger commented on Sep 20, 2022

    @wctiger
    Author

    Hi @JacksonGL looks like I hit this issue here Marak/colors.js#289.

    A look in npm ls shows the broken version comes from babar 0.2.3:

    PS C:\Users\username\AppData\Roaming\npm\node_modules\memlab> npm ls colors
    [email protected] C:\Users\username\AppData\Roaming\npm\node_modules\memlab
    `-- [email protected]
      `-- [email protected]
    

    After a closer look I found the problem - I was running npm install behind a mirrored npm repository and it hasn't updated to remove the corrupted colors versions 1.4.2. Thanks for checking this, I think I am good now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions