There is a systemic problem with sqlite and multi-thread access to the in memory database.
1. Create a RAM Drive. [OS specific, see your development software.] 2. Point database to the RAM Drive. You should not suffer too much speed degredation from the RAM Drive. 3. This will give you all the locking capabilities of the file system and over come single threadness. Tezozomoc.