Robotics StackExchange | Archived questions

ROS2 Connext: how to set max_objects_per_thread

Hi,

Using Connext DDS, if I try to run more than 8 nodes in the same process I get an error about the max_objects_per_thread limit exceeded.

I tried to set this value through an XML profile using

<participant_factory_qos>
    <resource_limits>
        <max_objects_per_thread>12</max_objects_per_thread>
    </resource_limits>
</participant_factory_qos>

However I get a runtime error while the XML is parsed saying that the option max_objects_per_thread does not exist. How can I solve this ?

Thank you

Asked by alsora on 2019-02-25 10:32:21 UTC

Comments

Are there any news regarding this question? Were you able to solve the issue? As a matter of fact, even the tag <resource_limits> does not seem to be accepted. The error states Unexpected tag: 'resource limits'

Asked by urczf on 2020-08-27 03:26:23 UTC

Answers