Calculating the total memory used by your application
The Java process consumes more memory than simply the maximum heap size. This recipe will show you how to determine the expected native memory size based on the arguments you supply in the startup arguments, and your knowledge of the application.
Getting ready
For this recipe, we'll be using the administration server of the SOA Suite server. Note that the arguments we use in this recipe are for demonstration purposes only; your production requirements may be higher! We'll need to have the administration server running so that we can make some measurements using standard Java tooling before we can make any changes. We'll also be using the Hotspot JVM.
How to do it…
Follow these steps to calculate the memory used by your application:
We'll set appropriate values for the SOA Suite administration server by modifying the stock startup scripts. Navigate to the domain's home directory:
%MIDDLEWARE_HOME%/user_projects/domains/soa_domain/
Replace
soa_domain...