resource_limits.max_objects_per_thread value

3 posts / 0 new
Last post
Offline
Last seen: 4 years 11 months ago
Joined: 04/19/2019
Posts: 2
resource_limits.max_objects_per_thread value

Hello,

I am trying to run the example in python using threading to run in parallel several readers/writers, but when I try to increase the number of readers/writers to more than 8 I get the following error.

[CREATE Participant] REDAWorkerFactory_createObjectPerWorker:!create objectPerWorker: worker factory's max. storage count reached (you may need to increase resource_limits.max_objects_per_thread value)

I saw a different thread stating how to solve this, but it was for a different language. How can I solve this in python?

Thanks in advance

Offline
Last seen: 3 days 9 hours ago
Joined: 04/02/2013
Posts: 195

Hi,

Increasing resource_limits.max_objects_per_thread in Connector is currently not supported. We have that filed as a future improvement (CORE-8126).

There is however a workaround you might want to try. It's explained in this other thread: https://community.rti.com/forum-topic/solved-how-change-maxobjectsperthread-rticonnextddsconnector

Regards,

Alex

Offline
Last seen: 4 years 11 months ago
Joined: 04/19/2019
Posts: 2

Thanks for your reply.

Yes, I already read that thread, but I am not sure how I can compile the addon provided. Can you guide me please on how I can do that?