public long getCurrentRemainMemory() {
        return getMemoryLimit() - getCurrentMemory();
    }
get the current remain memory.

@return the current remain memory
shenyu-common/src/main/java/org/apache/shenyu/common/concurrent/MemoryLimiter.java