[
https://issues.apache.org/jira/browse/AMQ-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15338895#comment-15338895
]
Viktorya Harutyunyan commented on AMQ-6266:
-------------------------------------------
So here we have an Out of memory issue, because of failing to create a native
thread.
Please
1. consider to increase the maximum of JVM memory (xmx option)
2. refer to
Reducing Threads and/or Reducing Memory Consumption section at following link
http://activemq.apache.org/scaling-queues.html
Also it is interesting to look at this link
https://plumbr.eu/outofmemoryerror/unable-to-create-new-native-thread
pay attention comparison between mac and linux max thread count
Thanks
> REST API and CURL leaking connections
> -------------------------------------
>
> Key: AMQ-6266
> URL: https://issues.apache.org/jira/browse/AMQ-6266
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.13.2
> Environment: Broker 5.13.2 running on MAC or PC
> curl client on MAC and LINUX
> Reporter: Arnaud Marchand
> Priority: Minor
>
> Sending messages via the REST API via a curl leaks ActiveMQ connections.
> Any curl such as the one in the ActiveMQ web site creates the problem:
> curl -u system:manager -d "body=message"
> http://localhost:8161/demo/message/TEST?type=queue
> The number of connections can be checked via the Jolokia or the JConsole
> interface.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)