when I look at the memory consumption of my java app I expierience a strange behavior:
The application allocates 500 MB in ~10 Minutes and then the garbage collector frees the 500 MB. Then, 500 MB gets allocated and freed again, and again and again.
There are no users on the application - the application is in stand by.
Can you give me a hint how to detect why the application allocates 500 MB?
Thanks
You can use JVisualVM from your JDK to analyze memory usage.
You should open your application and take a memory dump, you'll see how much memory is allocated by different classes. It can point you to right directions.