Support > Knowledge Base
Knowledge Base

Search the Knowledge Base: |
Search the Knowledge Base: |
PermGen Memory Size Increases by 10MB When Using Java Stubs Generated by Axis 1.4
Details
PermGen memory size increases by 10MB for a Java application using stubs generated from VMware Infrastructure 3 WSDL. How do I correct this?
Solution
This increase is due to all generated classes being loaded by the built-in Java class loader. There is no way to unload these classes using the default class loader, except by shutting down the Java virtual machine that is running the application using the Axis 1.4-generated VMware Infrastructure 3 stub classes.
According to the Java documentation, however, a couple of options might help:
- Write a custom classloader to load only the classes you require from the generated classes.
-
Use -XX:PermSize and -XX:MaxPermSize .
Keywords
Feedback
Actions
- KB Article: 1002831
- Updated: Aug 14, 2009
- Products:
VMware Infrastructure SDK - Product Versions:
VMware Infrastructure SDK 2.0.x

