Skip to content

Fastddsgen stucks when generating type definition files #175

Closed Answered by richiware
rookybird asked this question in Q&A
Discussion options

You must be logged in to vote

We were testing your case and we found what is happening. It's caused by the calculation of the max serialized size of a type. Prior to 2.4.0, fastddsgen generates C++ code which realized the calculation in the initialization of the user's application. With 2.4.0, the calculation is done by fastddsgen when generating the source code.

In your case, you have nested sequences (several level of nesting), without boundaries (default 100 elements). Taking into account java code execution is slower than C++, the calculation takes for your case a lot of time, but finally fastddsgen finishes.

We take a note to improve this algorithm. A quick solution until then is, if you can, set boundaries in yo…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rookybird
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants