Skip to content

Window freeze when receiving lots of output (renderer) #12265

Closed

Description

@StefH
  • VSCode Version: 1.5.2
  • OS Version: Windows 2008R2

Steps to Reproduce:

  1. Open an Java Maven project with a lot of tests
  2. Do a maven clean install as task command

You get an error message like:
2016-09-19_14h30_47

When you wait until Maven is finished running all the tests, the VS Code windows are completely blocked.

Is there a way to increase the time-out from the OUTPUTwindow?

Activity

  1. added
    info-needed
    on Sep 20, 2016
  2. chrmarti commented on Sep 20, 2016

    @chrmarti
    Collaborator

    Couldn't reproduce with a long-running task with lots of output on both OSX and Windows 10. It looks like the large amount of output did slow things down though. The fact that the task runs for a long time shouldn't cause any of this.

    Stef Heyenrath (@StefH) Could you paste your tasks.json for comparison? Thanks.

  3. StefH commented on Sep 20, 2016

    @StefH
    Author

    tasks.json

    {
        // See https://go.microsoft.com/fwlink/?LinkId=733558
        // for the documentation about the tasks.json format
        "version": "0.1.0",
        "command": "mvn",
        "isShellCommand": true,
        "showOutput": "always",
        "suppressTaskName": true,
        "tasks": [
            {
                "taskName": "clean"
            },
            {
                "taskName": "compile",
                "args": [
                    "clean",
                    "install"
                ],
                "isBuildCommand": true
            },
            {
                "taskName": "test"
            },
            {
                "taskName": "package"
            },
            {
                "taskName": "verify"
            }
        ]
    }
  4. added
    bug
    on Sep 20, 2016
  5. added
    tasks
    and removed
    info-needed
    on Sep 20, 2016
  6. chrmarti commented on Sep 20, 2016

    @chrmarti
    Collaborator

    Related to #7353

  7. dbaeumer commented on Sep 21, 2016

    @dbaeumer
    Member

    This is actually a problem of the output window. Moving to Isidor Nikolic (@isidorn).

  8. dbaeumer commented on Sep 21, 2016

    @dbaeumer
    Member

    I saw the same behavior last week when enabling typescript server tracing which writes a lot of output. In this setup no tasks are involved.

  9. 18 remaining items

  10. jrieken commented on Sep 29, 2016

    @jrieken
    Contributor

    Benjamin Pasero (@bpasero) It is very slow and 'yes' this is the main side (OutputService, string-utils etc).

  11. dbaeumer commented on Sep 29, 2016

    @dbaeumer
    Member

    Stef Heyenrath (@StefH) reported this when executing a task which is executed in the render (no extension host involved).

    Benjamin Pasero (@bpasero) may be an easy way to reproduce this is to write a node program that simply produces lots of output and start it via a task.

  12. bpasero commented on Sep 29, 2016

    @bpasero
    Contributor

    Ok lets keep this item to look into the performance on the renderer side and #6737 to check for the extension side.

  13. changed the title [-]Output window is not responding when the build command takes a long time[/-] [+]Window freeze when receiving lots of output (renderer)[/+] on Sep 29, 2016
  14. bpasero commented on Sep 29, 2016

    @bpasero
    Contributor

    I am seeing half of the time spend in the editor in setValue and about 15% in the append function of the outputService:

    image

  15. bpasero commented on Sep 29, 2016

    @bpasero
    Contributor

    For October to investigate if we can make this faster when lots of output is received. Moving since it is not a regression from previous milestones.

  16. bpasero commented on Oct 14, 2016

    @bpasero
    Contributor

    Isidor Nikolic (@isidorn) leaving to you if there is something we can improve. otherwise, the hang in the renderer is a different issue unrelated to consuming the output (related: #13736 and #13667)

  17. isidorn commented on Oct 26, 2016

    @isidorn

    Benjamin Pasero (@bpasero) looked in the output and there is nothing obvious to improve. AFAIK the slowness comes from nodejs/node#7657 as you pointed out in a different issue.
    Thus closing this

  18. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions