java.lang.OutOfMemoryError: PermGen space when booting weblogic

0

I'm trying to start a weblogic in eclipse, but when I boot it gives me an error in the java memory. This is one of them: Exception in thread "Timer-1" java.lang.OutOfMemoryError: PermGen space Exception in thread "[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError: PermGen space

I tried to change the memory from java, from the eclipse.ini file, from the java arguments configuration, from the weblogic console ... And I could not do it, any help in this regard?

    
asked by urrutias 29.06.2017 в 09:49
source

2 answers

0

First of all, is the application you are trying to lift very heavy? Have you raised her before?

  • If it is too heavy to lift it you have to increase the memory to the server since eclipse. EYE!! Increase the boot memory, not the eclipse.ini
  • If you have raised it before and now it does not raise you, it may be that weblogic, for some reason, has not deleted the temporary files it generates. From the eclipse delete the application and try to start clean weblogic. See if in the temporary folder you follow your application (or any other that you have raised), if so, delete it and also the weblogic's config.xml file entry (In this file look for the <app-deployment> tags that your app contains) .
  • If the error gives you executing the application once it has been lifted, you only have to add more memory to weblogic, from the console or directly in the config.xml.
  • answered by 29.06.2017 в 10:50
    0

    A frequent error is to consider the PermGen as part of the Heap, that is, it is within the parameters -Xms and -Xmx. And not. The PermGen uses the native ram and is independent of the Java heap. And this is true until Java 1.7. As of 1.8, the PermGen is not managed separately as in previous versions, ie with the PermGen flag. For example, if you have an application server with Jenkins, you would need to configure the Xms and Xmx parameters and the PermGen (using java 1.7). If the server needs 4 Gb of Heap and PermGen of 2Gb, the total consumed by this server is 6Gb Ram.

        
    answered by 13.07.2017 в 10:32