tag:help.beatunes.com,2009-07-24:/discussions/problems/47739-failed-to-allocate-database-sessionbeaTunes: Discussion 2018-04-16T06:27:42Ztag:help.beatunes.com,2009-07-24:Comment/450621602018-04-10T06:15:00Z2018-04-10T06:15:00ZFailed to allocate database session<div><p>If it restarts with no problem, don't worry about it.<br>
It just means that beaTunes was still trying to work with the database, when it was already shut down.</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/450621602018-04-13T13:20:22Z2018-04-13T13:20:22ZFailed to allocate database session<div><p>Hi Hendrix,<br>
So I install the last version of beatunes and I keep have issues. It never end inspecting (freezes in the middle). Also I get pop up windows (I didnt have a chance to take the pic...)<br>
My whole computer slows down so I end up closing the app which take forever to close..<br>
let me know if you have an idea about what it could be..<br>
Thanks a lot</p></div>brunogervais01tag:help.beatunes.com,2009-07-24:Comment/450621602018-04-13T13:22:26Z2018-04-13T13:22:26ZFailed to allocate database session<div><p>(I did actually have to force quit)</p></div>brunogervais01tag:help.beatunes.com,2009-07-24:Comment/450621602018-04-13T13:56:00Z2018-04-13T13:56:00ZFailed to allocate database session<div><p>Can you please send me a new set of logs (via <code>Help</code> -> <code>Upload Logs</code>), so that I can take a look at what's going on?</p>
<p>Thanks!</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/450621602018-04-13T14:23:37Z2018-04-13T14:23:37ZFailed to allocate database session<div><p>Done</p></div>brunogervais01tag:help.beatunes.com,2009-07-24:Comment/450621602018-04-13T14:51:39Z2018-04-13T14:57:22ZFailed to allocate database session<div><p>Just took a look.</p>
<p>When you restart beaTunes, please make sure to repair your database (via <code>Tools</code>), if beaTunes hasn't done that already.</p>
<p>I can see in the logs what's wrong—it has to do with the fingerprint-based duplicate inspection. It simply takes too long.</p>
<p>For now, you can do one of two things:</p>
<ol>
<li>Start the inspection again and go drink a coffee. Last time, when you force killed it, it was still running happily and probably would have succeeded eventually.<br></li>
<li>Turn off the Duplicates inspector in the inspection preferences. Then run inspection.</li>
</ol>
<p>Neither option is really satisfying. This weekend I'm going to spend some quality time with this issue and make beaTunes more responsive. Duplicates inspection will still take some time, but beaTunes should never freeze like it apparently does. Thank you for reporting this. It will be fixed.</p>
<p>Cheers,</p>
<p>-hendrik</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/450621602018-04-13T14:56:40Z2018-04-13T14:56:40ZFailed to allocate database session<div><p>great, I'll try that and will let you know.</p></div>brunogervais01tag:help.beatunes.com,2009-07-24:Comment/450621602018-04-14T10:09:16Z2018-04-14T10:09:16ZFailed to allocate database session<div><p>Hey Bruno,</p>
<p>I've spent some time on this issue. If you're interested, please try out <a href="https://www.beatunes.com/download/beaTunes-5-1-4-SNAPSHOT.dmg">https://www.beatunes.com/download/beaTunes-5-1-4-SNAPSHOT.dmg</a> That's the current dev snapshot that contains the corresponding changes. Does it work better for you (with duplicates inspection turned on)?</p>
<p>Thanks,</p>
<p>-hendrik</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/450621602018-04-14T13:15:38Z2018-04-14T13:15:38ZFailed to allocate database session<div><p>Thanks, I'll try that now...<br>
Anyway, I tried yesterday the way you asked me. First I rebuilt my library then If I turn off the duplicate option then it seems to work fine. I tried again with duplicate on and it finally worked but it took a very long time and still my computer was really slowed down during the process. It might also be because I have a big library.<br>
I'll check again now with the version you just sent me.<br>
;)</p></div>brunogervais01tag:help.beatunes.com,2009-07-24:Comment/450621602018-04-14T13:52:10Z2018-04-14T13:52:10ZFailed to allocate database session<div><p>Hi Hendrix, I tried it and everything looks good.. It worked well.<br>
Thanks again for your work...<br>
👍</p></div>brunogervais01tag:help.beatunes.com,2009-07-24:Comment/450621602018-04-16T06:27:42Z2018-04-16T06:27:42ZFailed to allocate database session<div><blockquote>
<p>First I rebuilt my library</p>
</blockquote>
<p>Actually I meant <em>repair</em> not <em>rebuild</em>, but I guess it does not matter that much.</p>
<blockquote>
<p>Hi Hendrix, I tried it and everything looks good.. It worked well. Thanks again for your work...</p>
</blockquote>
<p>Excellent! Thanks for making me aware of this.</p></div>hendrik