Bug 1042 - Increasing memory use followed by eventual crash when workrave.ini used
Status:
RESOLVED FIXED
Component:
Core :: Win32
Version:
1.9.4
Hardware:
PC Windows 7
Importance:
P5 major
Target Milestone:
---
Assignee:
Raymond Penners
URL:
Depends on:
Blocks:
Reported:
Sep 27 2011 05:31:56 UTC
by:
Michael Hoffman
Modified:
Oct 22 2011 14:28:52 UTC
CC List:
Rob Caelers
IdWhoWhenSizeType
262Crash log
Michael HoffmanSep 27 2011 05:31:56 UTC5953text/plain
WhoWhenWhatRemovedAdded
Michael HoffmanSep 27 2011 05:36:28 UTCsummaryIncreasing memory use followed by eventual crashIncreasing memory use followed by eventual crash when workrave.ini used
Rob CaelersOct 22 2011 14:28:52 UTCccRob Caelers
statusNEWRESOLVED
resolutionFIXED
Description
Michael Hoffman  Sep 27 2011 05:31:56 UTC
Created attachment 262
Crash log

On Windows 7, Workrave's memory use keeps increasing as I run it. After running all day, Workrave.exe has committed 689,940 KB, working set 384,712 KB, and private 371,680 KB according to Resource Monitor. Task Manager reports 218 handles, 13 threads, 58 USER Objects, 67 GDI objects. The memory usage keeps increasing by about 10 KB every second.

After a couple of days, Workrave crashes. Attached is a crash log.
Comment 1
Michael Hoffman  Sep 27 2011 05:36:28 UTC
I tried deleting my %AppData%\Workrave\workrave.ini file and restarted Workrave and the memory use stops increasing. Current Working Set 19,752 KB.
Comment 2
Rob Caelers  Oct 22 2011 14:28:52 UTC
Thanks. The memory leak in the .ini file reader/writer has been fixed.

Recent snapshot with bug fix can be found at: http://snapshots.workrave.org/