PDA

View Full Version : HM eating up my comp



Frankie
07-10-2010, 05:54 PM
HM is taking way to much space on my comp so I wonder if its any easy way to create som new space.

_Loki_
07-10-2010, 06:45 PM
IMPORTANT: Only do this in the pg_log folder !


Overview: Log Files are taking up GB of space on my Hard Drive. Can I prevent this?


<hr> Solution: Yes, PostgreSQL log files can become very large. Follow the steps below to eliminate your log files altogether:

1. First you will want to go to c:\Program Files\PostgreSQL\8.x\data
2. Open the pg_log folder and if there are logs in it, just delete all of them. Just the logs not the whole pg_log folder. Now close that folder.

You will need to edit your postgresql.conf folder. You can see it here.


http://1.2.3.12/bmi/faq.holdemmanager.com/images/log-files-01.jpg

3. Move this file to your desktop if you can't save it. (This is for Vista (http://faq.holdemmanager.com/questions/29/Turning+Off+UAC+%28Vista%29) and Windows 7 (http://faq.holdemmanager.com/questions/30/Turning+Off+UAC+%28Windows+7%29) users with UAC on)

4. Open windows notepad.
5. Click on the postgresql.conf folder and drag and drop it into the notepad window. You will now be able to read the files and edit it.


http://1.2.3.13/bmi/faq.holdemmanager.com/images/log-files-02.jpg


6. You will now need to scroll down until you see:logging_collector = on
(If you are using 8.2 you may see: redirect_stderr = on)

7. Just change this to off. (logging_collector = off) like this.
http://1.2.3.9/bmi/faq.holdemmanager.com/images/log-files-03.jpg
8. Now just save the change in the notepad like this.


http://1.2.3.10/bmi/faq.holdemmanager.com/images/log-files-04.jpg
9. Copy this file back to your PostgreSQL folder. C:\Program Files\PostgreSQL\8.3\data
10. Close the notepad window and close your PostgreSQL folder. You will now have to restart your computer for the change to take effect.

Next time you use Holdem Manager to play just check the pg_log folder, when your done playing and it should still be empty.

_Loki_
07-10-2010, 07:10 PM
Other things:

###
HM & POSTGRESQL:
Purge old hands you've played & observed hands (the stats are kept). Wait for next HM update before doing this because purge on the current version is 'buggy'
FAQ - Hold'em Manager Poker Tracking Software :: Purge Hands (http://faq.holdemmanager.com/questions/197/Purge+Hands)

Copy your old C:\HMArchive hands to a backup on a flash drive (or similar) & empty the HMArchive

Compact your postgreSQL database a little
FAQ - Hold'em Manager Poker Tracking Software :: Vacuum Analyze Database (http://faq.holdemmanager.com/questions/88/Vacuum+Analyze+Database+)

###
GENERAL WINDOWS TUNING WITH FREE PROGRAMS:

Remove progs you don't use with this:
FAQ - Hold'em Manager Poker Tracking Software :: Using Revo Uninstaller (http://faq.holdemmanager.com/questions/126/Using+Revo+Uninstaller+)

"CCleaner is a freeware system optimization, privacy and cleaning tool. It removes unused files from your system - allowing Windows to run faster and freeing up valuable hard disk space"
CCleaner - Free software downloads and software reviews - CNET Download.com (http://download.cnet.com/ccleaner/)

"Disk Defrag will speed up your computer by optimizing file system. It can defragment files, consolidate free space and move system files to the faster part of the disk. With Disk Defrag you'll get the maximum out of your hard drive performance"
Auslogics Disk Defrag - Free software downloads and software reviews - CNET Download.com (http://download.cnet.com/Auslogics-Disk-Defrag/3000-2094_4-10567503.html)
NOTE: Does the job much better if you've closed as many programs as possible & stopped AV scanning programs & stopped the postgreSQL service

###