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.
我遇到java out of memory: perm gen exception。我试图通过扩展java堆大小来解决它,但无法解决它。我怎样才能增加内存?
java out of memory: perm gen exception
启动 Java 时需要使用这样的指令:-XX:MaxPermSize=128m
-XX:MaxPermSize=128m
PermGen 是存储类定义等的地方。Xmx它不是被和之类的东西引用的同一内存体的一部分Xms。
Xmx
Xms