adam-may / hudson-tray-tracker

Automatically exported from code.google.com/p/hudson-tray-tracker
0 stars 0 forks source link

System.OutOfMemoryException #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
- What steps will reproduce the problem?
I use v0.7 of the Hudson Tray Tracker. Immediately after start it uses 
~30Mb of RAM. After several hours it starts using ~42Mb and at some point 
any action like Open / About / etc. starts causing 
System.OutOfMemoryException (see attachment). The same behavior was in v0.6

- What version of the product are you using? On what operating system?
Hudson Tray Tracker v0.7, Windows XP, .NET 2.0 SP1, .NET3.0 SP1

- Please provide any additional information below.
Thanx for the excellent program!

Original issue reported on code.google.com by giter...@gmail.com on 19 Mar 2009 at 2:59

Attachments:

GoogleCodeExporter commented 9 years ago
OK, I have not yet seen this error. Perhaps this is related to the number of
monitored projects. How many do you have?

I will see if I find anything.

Thanks for the bug report!

Original comment by Alexis.S...@gmail.com on 19 Mar 2009 at 8:49

GoogleCodeExporter commented 9 years ago
I have the same problem on 2 difference PCs. In log files there are following 
exceptions 
periodically:

2009-03-20 17:07:20,221 [5] ERROR Hudson.TrayTracker.UI.TrayNotifier - 
ExternalException 
- Allgemeiner Fehler in GDI+.
2009-03-20 17:07:20,221 [5] ERROR Hudson.TrayTracker.UI.TrayNotifier -    bei 
System.Drawing.Bitmap.GetHicon()
   bei Hudson.TrayTracker.UI.TrayNotifier.GetIcon(BuildStatus buildStatus)

We have Hudson with 7 projects (see config and log file in attachment), 4 of 
them have 
~30 submodules. Hudson Tray Tracker also generates a lot of log output: it 
takes it 4 
minutes to write and roll over 6 log files (~1,5Mb)

Original comment by giter...@gmail.com on 20 Mar 2009 at 4:23

Attachments:

GoogleCodeExporter commented 9 years ago
It is possible that the memory leak and the error with GetHicon() are related: 
icons
are loaded each time the tray icon is updated (even if the same icon has to be
displayed). I have changed it so that icons get loaded at startup.

Also, I have reduced the default logging configuration to reduce the amount of 
logs.

You might want to try version 0.7.5. As it is a beta version, it won't be 
offered by
the auto-update, so you will have to download it manually. Let me know if this
version fixes the issue.

Original comment by Alexis.S...@gmail.com on 20 Mar 2009 at 10:07

GoogleCodeExporter commented 9 years ago
v0.7.5 solved the problem. Thank you for the fix!

Original comment by giter...@gmail.com on 22 Mar 2009 at 4:24

GoogleCodeExporter commented 9 years ago

Original comment by Alexis.S...@gmail.com on 22 Mar 2009 at 7:28