MediaMonkey stops saving MM.db

This forum is for reporting bugs in MediaMonkey for Windows 4. Note that version 4 is no longer actively maintained as it has been replaced by version 5.

Moderator: Gurus

RobertSmith
Posts: 157
Joined: Wed Jun 24, 2009 1:05 am
Location: Stockholm, The home of Icebears

MediaMonkey stops saving MM.db

Post by RobertSmith »

EDIT:
Problem solved New updated script


Hi,

I have just started to monitoring C:\Users\personal\AppData\Local\MediaMonkey\ to see if I could understand why MM is running as normal (playback) but suddenly stops to save/update MM.db while playback continue to works as normal. Very hard to reproduce :( :D

Instead of a updated MM.db there are 2 files
MM.DB-stmtjrnl (hidden)
MM.DB-journal

There is no "crash" before I turn MM off, but when I close MM an error occur (message saying something like: an error has occurred and the program must be closed) and playstat is gone for all tracks played after last proper (saved) MM.db

When reopen MM the above 2 files has automatic been deleted, last timestamp is just before when last MM.db was properly saved. I can get data from tags with a rescan action -> played/rated tracks with a timestamp later when last proper db save. I have to fix last played with Ben's script...

What could be the reason why MM suddenly stops to save/update MM.db? I have search forum, but not sure if I understand everything :) But here are things what maybe influence.
  • I have had a large autoplaylist (NP) > 1000 tracks. I have now reduced it to max 3 hour (~50 tracks)
  • My collection is on external USB HDD (WD 1TB), MM is installed on laptop
  • I have many scripts installed both only 2 that are running during playback (Monkey Rok and Track Redirection & Synchronization)
  • Memory related? leakage? RAM? Is there any simple/automatic way I can monitoring if this is the problem
  • My collection is ~150GB but currently only a small part (3 300 tracks, 22 GB) is "checked in" to MM library.
  • More or less every day I optimize db using Maintain Library and I have also defrag MM.db with perfectdisk, current size of db is 13.6 MB
Last edited by RobertSmith on Sun Jul 26, 2009 10:19 am, edited 1 time in total.
Boys Don't Cry
3.1.0.1256 - M$ Vista Business sp1, DELL laptop, WD USB HDD 1TB (iPhone 3GS 32GB, iPod 30GB, Archos AV500 60GB)
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Re: MediaMonkey stops saving MM.db

Post by rovingcowboy »

the stops sounds like it is memory being used. now in xp there is an application from microsoft that is to clean unused icons from the desktop. it is to check every so often if that checks it might be taking the free ram to make the fast check? there are a few tweaking programs that offer a option to turn that off, but i think you can turn that off with micorsofts tweakui program.? or even an option in windows settings some place?

still that might not take that much ram? but i've noticed some lag time in getting songs from one drive to the other on the interal hd's if that is also being done over usb or firewire hd's that could be the cause of the stopping?

also just might be a priority thing.

start mediamonkey then try using the task manager for windows and on the process tab find the mediamonkey.exe in the list then right click on that to get the context menu on it you will see set priority.
left click that then on the next menu click on real time.
then close the manager. now monkey is running in real time but only this one session you will have to do that every time for a couple days to see if the stopping is fixed?
if it is then you can go get priority static control from majorgeeks.com site, set that up and it will always keep the programs running in what you set them. in order to use that program you have to left click the tray icon to get the setting panel. 8) so there is some things to try let us know if any of them work.

:)
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
chrisjj
Posts: 5007
Joined: Wed Feb 14, 2007 5:14 pm
Location: UK

Re: MediaMonkey stops saving MM.db

Post by chrisjj »

> What could be the reason why MM suddenly stops to save/update MM.db?

Perhaps the file has been locked by a second hung instance of MM. Task Manager will show it and let you kill it.
Chris
RobertSmith
Posts: 157
Joined: Wed Jun 24, 2009 1:05 am
Location: Stockholm, The home of Icebears

Re: MediaMonkey stops saving MM.db

Post by RobertSmith »

chrisjj wrote:> What could be the reason why MM suddenly stops to save/update MM.db?

Perhaps the file has been locked by a second hung instance of MM. Task Manager will show it and let you kill it.
It works now, see post 1 (edit). If you want a technical answer you better send a pm to ZvezdanD :wink:
Boys Don't Cry
3.1.0.1256 - M$ Vista Business sp1, DELL laptop, WD USB HDD 1TB (iPhone 3GS 32GB, iPod 30GB, Archos AV500 60GB)
Post Reply