From d8f7fe839436f0d4f204cdc716213c4d789eda28 Mon Sep 17 00:00:00 2001 From: Halsafar <421822+halsafar@users.noreply.github.com> Date: Thu, 2 Sep 2021 13:59:14 -0600 Subject: [PATCH] Do not need a 16MB buffer in this use case (downloaded gz file is not even that large). --- SongDataCore/BeatStar/BeatStarDatabase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SongDataCore/BeatStar/BeatStarDatabase.cs b/SongDataCore/BeatStar/BeatStarDatabase.cs index 41d7c5c..eaba06e 100644 --- a/SongDataCore/BeatStar/BeatStarDatabase.cs +++ b/SongDataCore/BeatStar/BeatStarDatabase.cs @@ -11,7 +11,7 @@ public class BeatStarDatabase : DatabaseDownloader, IDatabaseDownloadHandler public BeatStarDataFile Data = null; - protected byte[] Buffer = new byte[16 * 1048576]; + protected byte[] Buffer = new byte[4096]; CacheableBeatStarDownloaderHandler _lastCacheHandler;