Hello Experts,
How do I avoid Memory leaks in SOA applications? I want to avoid the following situations which is happening in our DEV environment and which may lead to a possible server crash or sluggishness if that happens in PROD.
Dev server specs:
Windows server 2008 R2 with 4CPU X 8GB memory 2.13 GHz.
1. Memory issues pertaining to instances: I start Admin server and SOA server, both these servers consume 4.5GB of memory. After I deployed a sample project, the memory usage went up to 5.10GB. Then I created a multiple payloads of instances in SOA, it went high to 5.30GB. As per my understanding, the memory usage should revert back to 5.10GB as soon as I worked and complete all the payloads and instances. However, it doesn't work the way I thought. The memory usage stays at 5.30gig. Also, It increases the memory usage from 5.30gig to more if the new instances / payloads are created.
2. Memory issues pertaining to Admin and SOA server startup: Usually Admin and SOA server consumes 4.5 GB of memory first time after the server reboot. After that, it goes high and high every time the ADMIN and SOA servers are restarted in the console mode.
Trying to find out the root cause for the above issues.
What are the checks and cleanup should I do before the ADMIN / SOA server startup?
Please advise.
Thanks.