ActiveMQ 5.8.0 startup issue - ERROR BrokerService - Temporary Store limit is 51200 mb

nmore

I am having an issue when starting up the broker of ActiveMQ. I get this error:

ERROR BrokerService - Temporary Store limit is 51200 mb...

Here is what I already know:

  1. I know that you can fix this by changing the activemq broker xml configuration file, but the problem I am having is that I don't know where the file is. I am developing in an Eclipse workspace with Maven (m2eclipse extension) so I can't see the binaries in the eclipse workspace folders.

  2. For some reason, even though this is a "warning", my broker is no longer receiving messages. I know that this error is causing the problem because if I run the code on another machine, it works as I expect. (The other machine is running CentOS and I am having problems on windows if that is relevant)

Maybe is there a way to change this parameter at run time?

Here is how I am starting the broker:

    BrokerService broker = new BrokerService();
    broker.addConnector(Constants.ACTIVEMQ_URL);
    broker.setPersistent(false);
    broker.start();

Thanks!

Jako

It is better to set the system usage after the broker.setPersistent(false). In case one would change the order and the space is lower then the limit, another message will occur.

BrokerService broker = new BrokerService();
broker.addConnector(Constants.ACTIVEMQ_URL);
broker.setPersistent(false);
SystemUsage systemUsage = brokerService.getSystemUsage();
systemUsage.getStoreUsage().setLimit(1024 * 1024 * 8);
systemUsage.getTempUsage().setLimit(1024 * 1024 * 8);
broker.start();

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Startup error of embedded ActiveMQ: Temporary Store limit is 51200 mb

From Dev

SAP DBTech JDBC: [2048]: column store error: search table error: [2724] Olap temporary data size exceeded 31/32 bit limit"

From Dev

Rails 3.x startup error on Dreamhost - session_store.rb issue?

From Dev

UTF8 mb_strpos ISSUE

From Dev

ActiveMQ 5.9 startup script?

From Dev

Issue referencing temporary unsaved workbook - runtime Error 438

From Dev

Why is Amavis giving a Retry limit exceeded / File exists error on startup?

From Dev

ActiveMQ and prefetch limit

From Dev

PhoneGap resolveLocalFileSystemURL Issue (Error 5)

From Dev

Error: express-paginate: `limit` is not a number >= 0

From Dev

MYSQL error syntax near LIMIT 0, 25

From Dev

Query error LIMIT 0,25

From Dev

Visual Studio 2015: Template store path is invalid error on startup

From Dev

MySQL utf8mb4 Foreign Key Error

From Dev

Store and Process Messages in ActiveMQ

From Dev

Temporary Table and Collation Issue?

From Dev

nmap ActiveMq issue

From Dev

ActiveMQ Dead Connection issue

From Dev

PHP5: Cannot set time limit in safe mode issue

From Java

Error loading data into temporary numpy array: "IndexError: index 0 is out of bounds for axis 0 with size 0"

From Dev

Creating consumer and temporary queue in same connection in Activemq?

From Dev

upgrade neo4j 2.2 to 2.3 to 3.3 error "can't upgrade v0.A.5 to v0.A.8"

From Dev

iOS 8 Framework Distribution issue while uploading on app store

From Dev

inmobi Windows 8 Store App integration error

From Dev

Collation issue, Is it possible to downgrade/convert from utf8mb4_unicode_ci to utf8_general_ci?

From Dev

Store Temporary Variables Using PHP?

From Dev

store the temporary data in couchbase or redis

From Dev

Pattern to store temporary values with Ramda

From Dev

How to efficiently store temporary userdata

Related Related

  1. 1

    Startup error of embedded ActiveMQ: Temporary Store limit is 51200 mb

  2. 2

    SAP DBTech JDBC: [2048]: column store error: search table error: [2724] Olap temporary data size exceeded 31/32 bit limit"

  3. 3

    Rails 3.x startup error on Dreamhost - session_store.rb issue?

  4. 4

    UTF8 mb_strpos ISSUE

  5. 5

    ActiveMQ 5.9 startup script?

  6. 6

    Issue referencing temporary unsaved workbook - runtime Error 438

  7. 7

    Why is Amavis giving a Retry limit exceeded / File exists error on startup?

  8. 8

    ActiveMQ and prefetch limit

  9. 9

    PhoneGap resolveLocalFileSystemURL Issue (Error 5)

  10. 10

    Error: express-paginate: `limit` is not a number >= 0

  11. 11

    MYSQL error syntax near LIMIT 0, 25

  12. 12

    Query error LIMIT 0,25

  13. 13

    Visual Studio 2015: Template store path is invalid error on startup

  14. 14

    MySQL utf8mb4 Foreign Key Error

  15. 15

    Store and Process Messages in ActiveMQ

  16. 16

    Temporary Table and Collation Issue?

  17. 17

    nmap ActiveMq issue

  18. 18

    ActiveMQ Dead Connection issue

  19. 19

    PHP5: Cannot set time limit in safe mode issue

  20. 20

    Error loading data into temporary numpy array: "IndexError: index 0 is out of bounds for axis 0 with size 0"

  21. 21

    Creating consumer and temporary queue in same connection in Activemq?

  22. 22

    upgrade neo4j 2.2 to 2.3 to 3.3 error "can't upgrade v0.A.5 to v0.A.8"

  23. 23

    iOS 8 Framework Distribution issue while uploading on app store

  24. 24

    inmobi Windows 8 Store App integration error

  25. 25

    Collation issue, Is it possible to downgrade/convert from utf8mb4_unicode_ci to utf8_general_ci?

  26. 26

    Store Temporary Variables Using PHP?

  27. 27

    store the temporary data in couchbase or redis

  28. 28

    Pattern to store temporary values with Ramda

  29. 29

    How to efficiently store temporary userdata

HotTag

Archive