Re: [sqlite] No space left on device?

2007-06-04 Thread Nuno Lucas

On 6/4/07, Alberto Simões <[EMAIL PROTECTED]> wrote:

What happens when no space is left on device? Does the process die, or
does it try to store as much as it can using main memory?


SQLite should return an error indicating it failed to write to disk
and the reason indicates there is no space left. It's up to your
application to handle the error gracefully.


I'm asking this because I have a process dying (being killed) because
it exauted main memory.


That is probably a memory leak in you application (maybe some bug in
the error path).

Regards.
~Nuno Lucas


Cheers
Alberto
--
Alberto Simões


-
To unsubscribe, send email to [EMAIL PROTECTED]
-



[sqlite] No space left on device?

2007-06-04 Thread Alberto Simões

Hi

What happens when no space is left on device? Does the process die, or
does it try to store as much as it can using main memory?

I'm asking this because I have a process dying (being killed) because
it exauted main memory.

Cheers
Alberto
--
Alberto Simões

-
To unsubscribe, send email to [EMAIL PROTECTED]
-