VMware
 

Knowledge Base

Search the Knowledge Base:

Products:
Search In:
 

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

SDK, Virtual Center, ESX

Feedback

Rating: 1 - Lowest 2 3 4 5 - Highest (0 Ratings)   

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (2000 or fewer characters)
Submit
Rating: 1 - Lowest 2 3 4 5 - Highest (0 Ratings)   
Actions