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()
184 int memoryNeeded = 0; in BlockInputStream() local186 memoryNeeded += filters[i].getMemoryUsage(); in BlockInputStream()188 if (memoryNeeded > memoryLimit) in BlockInputStream()189 throw new MemoryLimitException(memoryNeeded, memoryLimit); in BlockInputStream()
236 int memoryNeeded = getMemoryUsage(dictSize, propsByte); in LZMAInputStream() local237 if (memoryLimit != -1 && memoryNeeded > memoryLimit) in LZMAInputStream()238 throw new MemoryLimitException(memoryNeeded, memoryLimit); in LZMAInputStream()