Setting the heap size of IntelliJ idea

Time:2021-3-4
  • error:
    Exception in thread “Animation Thread” java.lang.OutOfMemoryError: Java heap space

  • resolvent:
    Run -- > Edit configurations -- > VIM options - xmx1024m (or larger)

  • remarks:
    -Xms<size> – Set initial Java heap size
    -Xmx<size> – Set maximum Java heap size

Recommended Today

Practice analysis of rust built-in trait: partialeq and EQ

Abstract:Rust uses traits in many places, from simple operator overloading to subtle features like send and sync. This article is shared from Huawei cloud community《Analysis of rust built-in trait: partialeq and EQ》Author: debugzhang Rust uses traits in many places, from simple operator overloading to subtle features like send and sync. Some traits can be automatically […]