View Issue Details

IDProjectCategoryView StatusLast Update
0003716JEDI VCL00 JVCL Componentspublic2006-05-26 08:43
ReporterelahnAssigned Toelahn 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version3.30 
Summary0003716: TJvSpellChecker has a major memory leak
DescriptionIf I run the JvSpellCheckerDemo with FastMM and then close it without doing anything, it sits there for an extremely long period of time generating the leak report - I don't know how long 'cause I've not waited for it to finish.

By commenting out lines 340 & 353 in JvSpellChecker.pas, it removes the memory leak. i.e. in TJvDefaultSpellChecker.BuildTables, the lines: StrAddRef(Value);

The problem is apparently that the strings for the words aren't being disposed of correctly. Since this isn't my area of expertise, I'll leave it to someone else to fix.
TagsNo tags attached.

Activities

remkobonte

2006-05-22 11:45

developer   ~0009336

I've made a small change (Revision 10617). Please check if that fixes the problem.

elahn

2006-05-26 08:43

developer   ~0009353

That fixed it, thanks. :)

Issue History

Date Modified Username Field Change
2006-05-21 13:34 elahn New Issue
2006-05-22 11:45 remkobonte Note Added: 0009336
2006-05-22 11:45 remkobonte Status new => feedback
2006-05-26 08:43 elahn Status feedback => resolved
2006-05-26 08:43 elahn Fixed in Version => Daily / SVN
2006-05-26 08:43 elahn Resolution open => fixed
2006-05-26 08:43 elahn Assigned To => elahn
2006-05-26 08:43 elahn Note Added: 0009353