
Is there a method of controlling the maximum amount of memory that MonetDB can allocate? No, not really. MonetDB already has a parallel thread
Colin Foss wrote: that frees memory already aggressively.
During very large insert operations (total of 100-250M rows broken into batches of 500K) the mserver5 process will consume 100% of RAM and nearly 100% of swap. I'm running on Linux 64bit with 9GB RAM and 2GB of SWAP.
One cause of errors in this area is that people forget to announce the number of records that will be copied. This really makes a difference. This problem should be solved in the upcoming release (and CURRENT) since a few weeks. It now samples the load file before BATs are allocated.
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users