Determining the various causes of memory errors
There are different kinds of memory limits inside the Java Virtual Machine. Each limit can be configured independently. But you must first find out which limit you have reached.
If you get the error message: java.lang.OutOfMemoryError: PermGen space this means that you have exceeded Java’s default 64Mb block for loading class files. This can happen if many plugins are installed. You may want to increase the PermGen memory size to suit your needs. 继续阅读