Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Crash using Find in Files on large repositories, Sprint 34 #6091

@Krindi

Description

@Krindi

Using Control + Shift + F (Edit > Find in Files) in a large repository causes a program crash.

Sprint 34 with no extensions
Size of repository : 2.34 GiB, very image heavy, 2606 files in 310 folders
Live Preview : not being utilized
Site in question was originally written in ASP.NET from Visual Studio 2012, if that matters.

"The exception Breakpoint
A breakpoint has been reached.
(0x80000003) occurred in the application at location 0x55e758e0

Click on OK to terminate the program"

The error message doesn't always occur, sometimes just "Brackets has stopped working". When the Application Error message comes up, two hex numbers were the same 100% of the time.

Memory usage with the repository open is around 9 MB, during multiple attempts to find a .jpg in this repository the highest memory usage witnessed was 915 MB. Usually it hit's "not responding" when it clears 200 MB memory use, and crashes after some variable period of time.

Running the same test against a smaller repository of 277 MB, but still image heavy, showed interesting behavior. The "Find in Files" took 28 seconds to complete, and disk activity reached as high as 19 MB/s.

My system has 16 MB of RAM, and CPU utilization during the crash out doesn't exceed 12%. For comparison, the same search in Visual Studio 2012 takes less than 2 seconds and increases RAM utilization by approximately 3 MB, and there is no disk activity.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions