Skip to content

Dev mode slowdown with high CPU usage on Windows & Intel Mac with project with large number of files #1709

Open
@scottkurz

Description

@scottkurz

Though I don't have a public recreate yet, I have an internal report of dev mode slowdown with a project with a large number ~7K Java source files.

Tools like process explorer show high CPU usage and the overall system becomes unresponsive and slow.

Have experienced this with both Semeru and Temurin Java 17 JDKs

One idea to consider: could it make sense, e.g. in a Liberty Tools IDE use case, to take advantage of the fact that the IDE is already watching for certain file changes and doing builds upon detection (e.g. javac upon .java file changes) and do have a "lighter" dev mode which, say, doesn't bother to watch for Java changes?

What about something like filtered web resources? I'm not sure if, in Eclipse, for example, the m2e integration would do call the appropriate mvn goal if a filtered web resource were detected.

We need to start by profiling and understanding where the performance slowdown is coming from in more detail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    To Discuss

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions