Skip to content

Eclipse hangs when opening a minified CSS file in CSS Editor #656

@meldorq

Description

@meldorq

When I open a minified CSS file, i.e. with one very long line (e.g. 80k characters), Eclipse hangs with 100% CPU load.

The severity is different for different files of similar length, probably depending on the content. For some, Eclipse hangs for about a minute, which allows you to close the editor without killing Eclipse, e.g. fontawesome.min.css from https://fontawesome.com/download .

Others, like a proprietary file that I can't share, make Eclipse sleep for at least one hour (maybe forever).

While I can consciously avoid opening these files, it is especially annoying in a global search, when clicking next takes you to such a file without a warning.

When I open the same file in the plain text file editor, the CPU load goes up to 100%, too, but Eclipse gets responsive again much faster.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions