Hi,
We've encountered a problem when creating more than 9 publishers or subscribers in a single process in Windows. It does not matter how many publishers or subscribers are created, but once we attempt to create the 10th publisher/subscriber, we are unable to create a domain participant.
We are using the community edition. Is this a known issue or known limitation of the community edition?
Regards,
Ricky
Note: we tried changing the max_objects_per_thread to 2048 and 4096 but this did not fix this issue.
Regards,
Ricky
The community edition is the same as the commercial edition.
You are running into something else. Might be a memory thing.
Also, the description is a bit weird, in that you suggest you are creating the publishers/subscribers first, and then trying to create a domain participant. Are you saying you can't create a /second/ domain participant? or are you saying that "for each publisher/subscriber we have a domain participant".
If the last, that's bad practice. yes, the example code comes out that way, but when you create an application, you try to minimize absolutly the number of participants. If that app is only on one domain ID, then you should really only have one DomainParticipant, (which will be the factory for many publishers and subscribers).
So, can you clarify and describe the steps you are taking?
rip
RIP,
We are creating a DomainParticipant for each publisher/subscriber. Modifying to create a single DomainParticipant fixed this problem. Thank you for your help.
Regards,
Ricky
Glad I could help.
rip