Discussion:
[OSPL-Dev] Error while writing in opensplice dds v6.3
Sridhar
2013-08-29 12:45:54 UTC
Permalink
Hi all,
I am using the opensplice dds v6.3 on windows 7 OS.
I have a sample application which writes data continuously in a loop. I am running the writer and the reader on the same terminal
After running the application for a few hours the application stops with the following error

"Writer reached maximum heartbeat sequence number"

Does this error occur because of the absence of a data reader for the topics??
However I have the data reader as well running on the same terminal

Can anyone please help me with the issue?

Best Regards
Sridhar
Steve Mc Gregor
2013-08-29 14:34:23 UTC
Permalink
Did you unregister your instances? If you're using different keys for every
data written you maybe exhausting the resources. So you should write then
unregister the instance so the writer can free the resources related to
that key.
Post by Sridhar
Hi all,
I am using the opensplice dds v6.3 on windows 7 OS.
I have a sample application which writes data continuously in a loop. I am
running the writer and the reader on the same terminal
After running the application for a few hours the application stops with
the following error
"Writer reached maximum heartbeat sequence number"
Does this error occur because of the absence of a data reader for the topics??
However I have the data reader as well running on the same terminal
Can anyone please help me with the issue?
Best Regards
Sridhar
_______________________________________________
OpenSplice DDS Developer Mailing List
Developer at opensplice.org
Subscribe / Unsubscribe
http://dev.opensplice.org/mailman/listinfo/developer
--
*Steve Mc Gregor*
email: stevemcgregor at gmail.com
movil: +51 992 705 909
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dev.opensplice.org/pipermail/developer/attachments/20130829/20f2ab91/attachment.htm>
Sridhar
2013-09-03 14:00:05 UTC
Permalink
Thanks Steve,

I am first using the writedispose() and then the unregister instance function. Still the same results. The application crashes with the "Writer reached maximum heartbeat sequence number" error in the ospl error log after running for sometime.

Unlike the previous version I am unable to set the memory size in the ospl config file. I tried adding the field to the XML file. However I did not see any change in the result. Also how do I run the mmstat, I would like to see the memory usage.

Thanks

Regards
Sridhar
Did you unregister your instances? If you're using different keys for every data written you maybe exhausting the resources. So you should write then unregister the instance so the writer can free the resources related to that key.
Post by Sridhar
Hi all,
I am using the opensplice dds v6.3 on windows 7 OS.
I have a sample application which writes data continuously in a loop. I am running the writer and the reader on the same terminal
After running the application for a few hours the application stops with the following error
"Writer reached maximum heartbeat sequence number"
Does this error occur because of the absence of a data reader for the topics??
However I have the data reader as well running on the same terminal
Can anyone please help me with the issue?
Best Regards
Sridhar
_______________________________________________
OpenSplice DDS Developer Mailing List
Developer at opensplice.org
Subscribe / Unsubscribe http://dev.opensplice.org/mailman/listinfo/developer
--
Steve Mc Gregor
email: stevemcgregor at gmail.com
movil: +51 992 705 909
_______________________________________________
OpenSplice DDS Developer Mailing List
Developer at opensplice.org
Subscribe / Unsubscribe http://dev.opensplice.org/mailman/listinfo/developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dev.opensplice.org/pipermail/developer/attachments/20130903/dbef30fa/attachment.htm>
Loading...