Bug 570099 - Search freezes on long text lines
Summary: Search freezes on long text lines
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Search (show other bugs)
Version: 4.19   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Search-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-05 13:44 EST by Paul Austin CLA
Modified: 2021-01-05 13:44 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Austin CLA 2021-01-05 13:44:46 EST
When doing a search in a file the application freezes with high CPU if the search results contain files that have really long lines.

Specifically if webpack javascript files are in the results.

1. Is there a way in the results display to cache only the fragment of the text that would appear in the results. The UI freeze might be due to it trying to render the whole line which could be MB in size.

2. It would be nice if globally you could setup don't search locations. At the moment I have to mark those folders as derived for each project. Form things like target (it's ignored only for maven modules) and node_modules. node_modules is the worse offender.