PDA

View Full Version : Memory Leak?



oibits
09-25-2009, 07:41 AM
I've been using HEM for just a short while on trial. Version 1.08.04. I have imported just 10,000 hands in the DB

I have dual CPU, 3 Gb RAM and Raid 0 SATA hard disks, running on XP. It's not a wimp!

My initial impressions are that it's slow running reports and also there seems to be a memory leak. If I run various reports in the Report tab after no time at all the memory starts running away (300+ MB) and I have to close the HEM down.

As an example, the Overall report, showing All hands (10,000) takes >10 secs and shoots the memory usage up to 265Mb.

I've tried some of the postgres tuning to no avail.

netsrak
09-25-2009, 08:21 AM
Please make sure you have the 1.09 beta 34 patch from the link in my signature.

If that doesn't help, or you need help for any reason, please let us know.

oibits
09-25-2009, 08:52 AM
Makes no difference to the performance, although the runaway memory leak seems to be fixed. At 200+ Mb for just 10,000 hands it's quite a hungry beast wouldn't you say?



See the attached for a problem with the beta too.

netsrak
09-25-2009, 10:50 AM
Please explain the problem in the screenshot.

For the performance i can only give you some general hints: http://208.109.95.123/forum/showthread.php?p=62613&posted=1#post62613

oibits
09-25-2009, 12:20 PM
The problem in the screen shot is that only half the table is rendered correctly. You can see the rendering of the image stops with the brightly coloured green line.


As for the memory, it is definitely leaking. I've just clicked on a few options and run a few different reports and I'm at 472Mb and counting. See attached...

netsrak
09-25-2009, 02:59 PM
Please mail the screenshots with a link to this thread to fabio@holdemmanager.net

fozzy71
09-26-2009, 03:20 PM
I would suggest you do the majority of the things in this thread: http://www.holdemmanager.net/forum/showthread.php?t=11194

Some of the most important things, imo:

- Remove the WinnerName, WinnerCards and WinnerWon from the Hands View Column Selector
- Turning off logging and deleting existing logs
- Vacuum/Full/Analyze, then Reindex - http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=163
- Defrag last and make sure you stop the postgresql service before you defrag. I personally use Defraggler.
- Do a Cold Boot (Shut Down > Start) before you use HM again

oibits
09-29-2009, 06:28 AM
Did as many of the suggestions as I'm realistically able to. The memory is still running away.

oibits
09-29-2009, 02:54 PM
Do you have any updates on the above problems? My 60 day trial of Poker Tracker ran out today and I have 4 days of my unusable due to poor performance and memory leaks HEM trial left.

I've read lots of good reviews about HEM and I like the very limited use I've had of it so far, but right now it's a no brainer as to which one I should pick wouldn't you say?

fozzy71
09-29-2009, 03:16 PM
I have forwarded this thread to the developer for a reply.

fozzy71
09-29-2009, 03:31 PM
From the developer:



There isn’t a memory leak – Microsoft.net applications hold on to memory and it is released by something called the “garbage collector” as needed. Running a report with 10,000 hands uses up 265MB because that is how much space it takes to hold 10,000 hands in the grid.

I’d suggest not putting 10K+ hands in the hand view since that’s not really what it is meant for and it isn’t a useful number of hands for viewing. Use filters to show hands that are applicable to what you are doing.

Roy

oibits
10-01-2009, 05:44 PM
ok, getting the hang of it now. Just need to think differently to PT3.

Any news on the problem with the hand replayer? I attached the screen shot earlier in this thread.

fozzy71
10-01-2009, 08:59 PM
That replayer issue may have been overlooked due to the other issues in the thread. Is that a consistent problem? Are your video card drivers up to date? Windows auto updates fully updated? Do you have microsoft .net framework 3.5 sp1 installed?

oibits
10-02-2009, 04:05 AM
Consistent - Yes
Video - Weren't up to date, but are now and still have the problem
Windows - Yes
.Net 3.5 Sp1 - Yes

netsrak
10-02-2009, 06:14 AM
I'll forward it to the Hud developer.

oibits
10-03-2009, 03:01 PM
The replayer problem has been fixed by beta 35.

Thanks