Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-2859

spring-integration-scripting memory leak

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2. GA
    • Fix Version/s: 3.0 M1, 2.2.1
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Linux 2.6.32-41-generic-pae SMP i686 GNU/Linux
      java version "1.6.0_26"
      Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
      Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)

      Description

      When using a spring integration router with the script language python ( like cafe-scripted sample), you run in a oom situation.
      The problem can be reproduced using the sample code on github: https://github.com/SpringSource/spring-integration-samples/tree/master/applications/cafe-scripted

      How to reproduce:
      1.) git clone https://github.com/SpringSource/spring-integration-samples.git
      2.) cd spring-integration-samples/
      3.) apply attached patch "speed.patch" to speedup things and decrease heap size
      patch -p1 < speed.patch
      4.) cd applications/cafe-scripted
      5.) mvn compile
      6.) mvn -e exec:exec -Dlang=python
      7.) watch for the "java.lang.OutOfMemoryError: Java heap space" Error
      8.) optional use visualvm to monitor the heap

        Attachments

          Activity

            People

            • Assignee:
              dturanski David Turanski
              Reporter:
              st0ne.at Robert Steininger
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: