View Issue Details

IDProjectCategoryView StatusLast Update
0000537Duplicate Finder[All Projects] Generalpublic2015-04-28 06:21
ReporterAssigned Toub3rst4r 
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
Platform.NET Framework v4.0 (SP 0)OSMicrosoft WindowsOS VersionWindows XP SP3 (32 bit)
Summary0000537: Exception of type 'System.OutOfMemoryException' was thrown.
DescriptionStack trace:
   at System.IO.MemoryStream.set_Capacity(Int32 value)
   at System.IO.MemoryStream.EnsureCapacity(Int32 value)
   at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.Stream.InternalCopyTo(Stream destination, Int32 bufferSize)
   at System.IO.Stream.CopyTo(Stream destination)
   at Little_System_Cleaner.Duplicate_Finder.Helpers.FileEntry.GetFileStream(Boolean includeFilename)
   at Little_System_Cleaner.Duplicate_Finder.Helpers.FileEntry.CalculateSHA1(Boolean includeFilename)
   at Little_System_Cleaner.Duplicate_Finder.Helpers.FileEntry.GetChecksum(Algorithms algorithm, Boolean includeFilename)
   at Little_System_Cleaner.Duplicate_Finder.Controls.Scan.GroupByChecksum()
   at Little_System_Cleaner.Duplicate_Finder.Controls.Scan.ScanDisk()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

Source:
mscorlib

Target site:
Void set_Capacity(Int32)


TagsNo tags attached.

Activities

ub3rst4r

2015-04-28 06:21

administrator   ~0000804

FileStream is used directly to compute hash (instead of being copied to a MemoryStream before being hashed). Addressed in commit c7ed8a9 and e76380d (the latter commit is recommended)

Issue History

Date Modified Username Field Change
2015-04-26 04:30 ub3rst4r Project Little System Cleaner => Duplicate Finder
2015-04-28 06:21 ub3rst4r Note Added: 0000804
2015-04-28 06:21 ub3rst4r Status new => resolved
2015-04-28 06:21 ub3rst4r Resolution open => fixed
2015-04-28 06:21 ub3rst4r Assigned To => ub3rst4r