Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a single ActiveMQ session per connection, to prevent OOM errors #205

Open
wants to merge 8 commits into
base: GROUPER_2_6_BRANCH
Choose a base branch
from

Commits on Aug 12, 2022

  1. Use a single JMS Session per connection, rather than one per event

    Each created Session spawns a thread to handle message transmission.
    Prior to this change, each change resulted in a new thread being
    created. If the ChangeLog had a large number of pending changes
    (10s of thousands), memory starvation occurred. This change serializes
    message transmission
    stevehillman committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    5b42644 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2022

  1. Configuration menu
    Copy the full SHA
    277608f View commit details
    Browse the repository at this point in the history
  2. Use a single shared session per ActiveMQ connection by default

    - The previous behaviour used a separate session in the ActiveMQ client
      library for each message being sent. Each session spawns two threads. If
      a Change Log update involved too many changes, memory exhaustion could
      occur.
    
    The old behaviour can be restored by setting
    
      grouper.messaging.system.activeMqMessaging.useSharedSession = false
    
    in grouper.client.properties
    stevehillman committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    e3929b8 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2022

  1. Configuration menu
    Copy the full SHA
    4dd4723 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5eb6bac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ac70b52 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2022

  1. Fixes to make Ant happy

    stevehillman committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    d58233d View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2023

  1. Configuration menu
    Copy the full SHA
    0640fba View commit details
    Browse the repository at this point in the history