Announcement Announcement Module
Collapse
No announcement yet.
creating new ApplicationContext Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • creating new ApplicationContext

    I have a program that use spring and hibernate together. When I start my program in the debug mode and just create ApplicationContext, it uses more than 170 MB of memory.
    When I create the same ApplicationContext from a Junit method, it uses more than 320 MB of memory.
    Consider that, I just create the applicationContext in the first line of my program and before I run any other code, it uses more than 170MB.
    It's strange. I turned off my hibernate cache and nothing changed. So probably it's not the hibernate cache problem.
    Anybody has any Idea why Spring use such a huge amount of memory in my case?
Working...
X