We have single (1) node Cassandra (v.3.11.2) cluster with heap 1GB.
Case 1:
1. Drop all (500-600 with 1,000 - 200,000 rows for each) tables
2. Create new tables (with new or same structure)
3. Populate the data into Cassandra
Case 2:
1. Truncate all (500-600 with 1,000 - 200,000 rows for each) tables
3. Populate the data into Cassandra
The issue is that when we use truncate case we have OutOfMemory exception after +-200 tables. But for the drop case, it works fine.
Why is a truncate causing nodes to go down? Has anyone encountered such a problem? Perhaps there are guidelines for using truncation?
Best Regards,
Mykhailo