Re: [Musicpd-dev-team] MPD crash in memory constrained embedded system

2013-02-09 Thread Timur Aydin
On 2/8/2013 7:31 PM, Max Kellermann wrote: Yes. Ok, so when using a text database, the entire database is built in memory and then saved. How about for sqlite? Is it also built in memory and then flushed to disc? Timur

[Musicpd-dev-team] MPD crash in memory constrained embedded system

2013-02-08 Thread Timur Aydin
Hi, I have ported MPD to the Blackfin platform and been doing tests using a very large music database. The entire database is about 500GBytes, but I have run into this issue with a much smaller database as well. I am using the text database at the moment. So my question is, how does MPD do

Re: [Musicpd-dev-team] MPD crash in memory constrained embedded system

2013-02-08 Thread Max Kellermann
On 2013/02/08 17:12, Timur Aydin t...@taydin.org wrote: So my question is, how does MPD do the indexing of the database? Does it build the entire index in memory and saves the index after finishing? Yes. -- Free

Re: [Musicpd-dev-team] MPD crash in memory constrained embedded system

2013-02-08 Thread Jonathan Neuschäfer
On Fri, Feb 08, 2013 at 06:12:53PM +0200, Timur Aydin wrote: Hi, I have ported MPD to the Blackfin platform and been doing tests using a very large music database. The entire database is about 500GBytes, but I have run into this issue with a much smaller database as well. I am using the