Skip to content

Commit

Permalink
feat: remove useless class
Browse files Browse the repository at this point in the history
  • Loading branch information
Codeprh committed Jul 19, 2022
1 parent 622ba0a commit ae2e21f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 274 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@
import java.util.concurrent.TimeUnit;

/**
* {@link java.lang.Runtime#freeMemory()} technology is used to calculate the
* memory limit by using the percentage of the current maximum available memory,
* which can be used with {@link MemoryLimiter}.
* Can completely solve the OOM problem caused by {@link java.util.concurrent.LinkedBlockingQueue},
* does not depend on {@link java.lang.instrument.Instrumentation}
*
* @see MemoryLimiter
* @see <a href="https://github.com/apache/incubator-shenyu/blob/master/shenyu-common/src/main/java/org/apache/shenyu/common/concurrent/MemoryLimitCalculator.java">MemoryLimitCalculator</a>
* @see <a href="https://github.com/apache/incubator-shenyu/blob/master/shenyu-common/src/main/java/org/apache/shenyu/common/concurrent/MemorySafeLinkedBlockingQueue.java">MemorySafeLinkedBlockingQueue</a>
*/
public class MemoryLimitCalculator {

Expand Down

This file was deleted.

0 comments on commit ae2e21f

Please sign in to comment.