Searched refs:memoryNeeded (Results 1 – 3 of 3) sorted by relevance
22 private final int memoryNeeded; field in MemoryLimitException34 public MemoryLimitException(int memoryNeeded, int memoryLimit) { in MemoryLimitException() argument35 super("" + memoryNeeded + " KiB of memory would be needed; limit was " in MemoryLimitException()38 this.memoryNeeded = memoryNeeded; in MemoryLimitException()48 return memoryNeeded; in getMemoryNeeded()
185 int memoryNeeded = 0; in BlockInputStream() local187 memoryNeeded += filters[i].getMemoryUsage(); in BlockInputStream()189 if (memoryNeeded > memoryLimit) in BlockInputStream()190 throw new MemoryLimitException(memoryNeeded, memoryLimit); in BlockInputStream()
315 int memoryNeeded = getMemoryUsage(dictSize, propsByte); in LZMAInputStream() local316 if (memoryLimit != -1 && memoryNeeded > memoryLimit) in LZMAInputStream()317 throw new MemoryLimitException(memoryNeeded, memoryLimit); in LZMAInputStream()