0 Replies Latest reply: Nov 12, 2012 5:51 PM by 336885 RSS

    Reclaim space from empty queues

    336885
      I'm using Glassfish 3.1.2 that comes with embedded OpenMQ (4.5.2 (Build 2-d)).

      When I put persitent messages into a queue the messages are saved to disk and they take space.
      When I receive messages from queue the space on disk is not reduced.

      Is there a way to reclaim that space?
      So for example, if a queue with 100 messages takes 50MB on disk, then the messages are received from the queue and the queue still takes 50 MB on disk. I want it to take 0MB (or some small number).