Kota-Karthik / twinTrim

TwinTrim is a powerful and efficient tool designed to find and manage duplicate files across directories.
MIT License
16 stars 58 forks source link

[Bug] Application Crashes When Scanning Large Directorie #131

Open Jaswithadabbiru opened 11 hours ago

Jaswithadabbiru commented 11 hours ago

Description: The application crashes unexpectedly when attempting to scan directories that contain a large number of files (specifically over 10,000 files). This issue appears to be related to memory management and may lead to loss of user data or progress.

Steps to Reproduce:

Open the TwinTrim application. Select a directory that contains more than 10,000 files (e.g., C:\Users\Username\Documents\LargeFolder). Click on the Scan button. Monitor the application as it attempts to process the files.

Expected Behavior: The application should successfully scan the directory and provide a list of duplicate files without crashing.

Here’s a detailed bug report for the issue titled "[Bug] Application Crashes When Scanning Large Directories":

🐞 Bug Report Title: [Bug] Application Crashes When Scanning Large Directories

Reported By: [Your Name or GitHub Username]

Date: [Date of Report]

Description: The application crashes unexpectedly when attempting to scan directories that contain a large number of files (specifically over 10,000 files). This issue appears to be related to memory management and may lead to loss of user data or progress.

Steps to Reproduce:

Open the TwinTrim application. Select a directory that contains more than 10,000 files (e.g., C:\Users\Username\Documents\LargeFolder). Click on the Scan button. Monitor the application as it attempts to process the files.

Expected Behavior: The application should successfully scan the directory and provide a list of duplicate files without crashing.

Actual Behavior: The application crashes during the scanning process, and no results are returned. A message indicating that the application has stopped working may appear.

Priority: High This issue significantly impacts usability for users with large directories.

Kota-Karthik commented 11 hours ago

@Jaswithadabbiru I had tested this tool multiple times on a directory with 30000+ files could you be more specific ? can you tell me what is the size of that directory ? Do you have any screenshots that supports your statement?