Hi,
In the old forum, someone highlighted an issue with a memory leak when using WinSpellChecker. I'm using.Net 2007 Vol v2, and I still have this problem. Using Ants profiler, it appears the dictionary is loaded on every form show and never released. Was it ever resolved?
Thanks
Ryan
I'm not sure about your question, but you could use the code I'm pasting below in a timer that executes every so many minutes to keep memory usage lower. If you're using C# and will test it out you'll see how much it saves.
try { Process process = Process.GetCurrentProcess(); process.MaxWorkingSet = process.MaxWorkingSet; process.Dispose(); } catch { }
Thanks for the tip Torrey, but it doesn't help with my issue. It appears WinSpellChecker is loading an instance of the dictionary every time a form is loaded but never gets released when the form is closed.
I've attached a sample program that highlights the issue.