public long getCurrentMemory() {
        return memory.sum();
    }
get the current memory.

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