> > INFO [pool-1-thread-4] 2020-02-08 01:35:37,946 NoSpamLogger.java:91 - > Maximum memory usage reached (536870912), cannot allocate chunk of 1048576 >
The message gets logged when SSTables are being cached and the cache fills up faster than objects are evicted from it. Note that the message is logged at INFO level (instead of WARN or ERROR) because there is no detrimental effect but there will be a performance hit in the form of read latency. When space becomes available, it will just continue on to cache the next 64k chunk of the sstable. FWIW The default cache size (file_cache_size_in_mb in cassandra.yaml) is 512 MB (max memory of 536870912 in the log entry). Cheers!