Memory comsuption when validating Spring Model
Hi,
We have a fairly large Spring model in our app. When debuging the web app, the validation of Spring model is demanding a very large amount of memory (just move from 512 MB to 756). The memory consumption peak was about 640 MB.
Is it normal?
Running under OSX 10.4.x MBP C2D
Thanks,
Gustavo.
Please sign in to leave a comment.
1) Take a memory snapshot when memory usage is high
2) Upload it to
3) Create a JIRA issue providing details (number of beans, number of config files, etc)
You mention "When debuging". Do you mean at compile time, of during editing? Please provide such details in the JIRA issue, not here.
4) Mention the filename of the uploaded snapshot in the JIRA issue
Actually when launching the debugger to debug a tomcat app.
Regarding taking a memory snapshot. What would it be the recommended approach to do so in OSX?
Thanks,
Gustavo
Hello Gustavo,
EAP builds of IDEA have a "memory chip" icon on the toolbar. Invoking it
will take a memory snapshot.
If that's not possible (because of modal dialogs or such), you can use jdk
tools jps/jmap to take memory snapshots.
Make sure to zip/compress them before uploading.
-tt