Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
限られたヒープ スペースとヒープを吹き飛ばす同時要求に問題があります。maxmemory をチェックし、Spring Controller レベルで適切なエラー メッセージを含むリクエストを返すことは良い考え/プログラミング プラクティスですか?
純粋なJavaで
Runtime runtime = Runtime.getRuntime(); //used memory runtime.totalMemory() - runtime.freeMemory() //free memory runtime.freeMemory(); //available memory runtime.totalMemory(); //Maximum available memory runtime.maxMemory();