Fixed assert failed on OS X 10.9 by enlarging the memory size. 

It seems this error can occur even all of the permission are set to 777. So I debugged it, the program would halt inside the initDB() method call and I assumed loading everything into the memory was a huge cost, after specified the memory size, the assert fail disappeared.