CATbot is using a
huge amount of Disk space after running for a while
Would it be possible to compress (zip) the log files to save space? Java is able to read and write directly to and from a zip file inline without decompression.
==== Using a huge amount of space after only 2 months ====
du -sh CAT_52/
86G CAT_52/
28K ./Binance/AlgoPresets
84G ./Binance/ExchangeLogs760K ./Binance/AutoBackups
1,7G ./Binance/MarketLogs
104K ./Binance/GainLogs
86G ./Binance
==== Java's ZipFile class to read and write Zip Files ====
Module java.base
Package java.util.zip
Class ZipFile
java.lang.Object
java.util.zip.ZipFile
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
JarFile
==== Link to Java documentation on ZipFile ====
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/zip/ZipFile.html