Re: [sqlite] sqlite crash when realloc fails

2014-09-09 Thread Richard Hipp
On Tue, Sep 9, 2014 at 10:39 AM, Dominique Devienne wrote: > On Tue, Sep 9, 2014 at 1:50 PM, Sebastien David > wrote: > > > I have a database with 10million of row in one table (file size is ~5GB) > > When I execute a query that should return half of

Re: [sqlite] sqlite crash when realloc fails

2014-09-09 Thread Dominique Devienne
On Tue, Sep 9, 2014 at 1:50 PM, Sebastien David wrote: > I have a database with 10million of row in one table (file size is ~5GB) > When I execute a query that should return half of this table, sqlite fails > because at some point there is no memory (this is normal) [...]

[sqlite] sqlite crash when realloc fails

2014-09-09 Thread Sebastien David
Hi, I have a database with 10million of row in one table (file size is ~5GB) When I execute a query that should return half of this table, sqlite fails because at some point there is no memory (this is normal) but instead of returning an error, it crashes. sqlite version: 3.7.5 #0