Announcement Announcement Module
Collapse
No announcement yet.
Out of memory with spring integration Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Out of memory with spring integration

    Hi all

    We are building a large enterprise system with Spring Integration, freemarker and smooks. We are using the freemarker and smooks to transform messages between different layers instead of creating java beans.

    We are facing alot of out of memory issues, we have alot of beans in our spring-ws.xml. When we hit the application for the first time it consumes almost 1000mb of memory. (We have alot of services)

    Any ideas how we could reduce this memory issue?

    /x

  • #2
    Honestly, its hard o answer your question since we have no idea what your application does, looking at your configuration etc.
    1000mb is not and issue at all if you need it, and you do say you have a lot of services and they probably have some state etc....
    It only become an issue if you don't need it. Then you have to look at your design. Spring is a container that itself requires very little resources (think few kb). Its the object instances (beans) that it holds if what brings your memory up and only you can analyze and change those.

    Comment

    Working...
    X