-
I want to import a big table from CSV which doesn't fit into the 4GB Ram limit of wasm. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I found the solution. Just create a new database and use it :)
Now all new tables will use compression. This works great and I can now import much bigger tables. The Memory-Consumption of a very sparse table went down from 2.3GB to only about 400MB (memory + database size)! |
Beta Was this translation helpful? Give feedback.
-
I don't understand why, but this works great! I was stuck with operations on a 1go CSV file, which were eating up all the memory. These two lines fixed the problem! |
Beta Was this translation helpful? Give feedback.
I found the solution. Just create a new database and use it :)
Now all new tables will use compression. This works great and I can now import much bigger tables. The Memory-Consumption of a very sparse table went down from 2.3GB to only about 400MB (memory + database size)!