Reduce CacheExporter BATCH_SIZE

I think this is causing OOMs.

Signed-off-by: Graham <gpe@openrs2.org>
Graham 3 years ago
parent 1f474be1bb
commit 7915698cda
  1. 2
      archive/src/main/kotlin/org/openrs2/archive/cache/CacheExporter.kt

@ -389,7 +389,7 @@ public class CacheExporter @Inject constructor(
} }
private companion object { private companion object {
private const val BATCH_SIZE = 1024 private const val BATCH_SIZE = 256
private val LOC_NAME_REGEX = Regex("l(\\d+)_(\\d+)") private val LOC_NAME_REGEX = Regex("l(\\d+)_(\\d+)")
private fun getMapSquare(name: String?): Int? { private fun getMapSquare(name: String?): Int? {

Loading…
Cancel
Save