This discussion is archived
0 Replies Latest reply: Nov 12, 2012 3:51 PM by 336885 RSS

Reclaim space from empty queues

336885 Newbie
Currently Being Moderated
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).


  • Correct Answers - 10 points
  • Helpful Answers - 5 points