View Ticket
Not logged in
Ticket UUID: 4e60e9d62beaecd8f1c86f0ba2fbd8d0faa9bf12
Title: malloc() failed out of memory
Status: Closed Type: Incident
Severity: Important Priority: High
Subsystem: Resource_Cleanup Resolution: Fixed
Last Modified: 2012-02-02 05:22:05
Version Found In:
Hello: Using a VS2010 under Win 7 of 64 bits, I generated an executable with "any CPU" option, then I copied the object to a Win XP 32 bits computer; then, from sqlite web site, I downloaded or and, together with my executable I launched it. The program updates a 60 million records. After some minutes of normal execution, the next error is issued: System.Data.SQLite.SQLiteException (0x80004005): malloc() failed out of memory

When I see the Windows task manager, the amount of memory is increased rapidly.

When executing the same program and Sqlite version under the Win 7, 64 bits I do not have this problem.

When I run the same program in Win XP 32, but using the Sqlite version for 32 bits, I do not have this problem.

What do you think is happening?

mistachkin added on 2011-12-16 05:03:28 UTC:
Could you please try to reproduce the problem with the latest code on trunk?

mistachkin added on 2011-12-16 05:04:35 UTC:
i.e. This may be fixed by check-in [419bfbd2ee].

anonymous added on 2012-02-02 05:22:05 UTC:
Testing, the problem was solved. Thanks!!