Hello,
when I stop the Server I receive the following error messages on the Terminal :
objectpool 2 (messages): 2 object leaked!
objectpool 3 (services): 2 object leaked!
objectpool 5 (sessions): 1 object leaked!
objectpool 6 (session_service_calls): 2 object leaked!
can anyone please tell me what they do mean and if the is a way to fix this erros
thanks,
Yassin
Objectpool
Moderator: uasdkhpc
- Support Team
- Hero Member
- Posts: 3070
- Joined: 18 Mar 2011, 15:09
Re: Objectpool
at the moment there does not exist a shutdown procedure,
which waits until all requests have been canceled and deleted.
This means if you shut down the server when there are active connections,
our memory pools detect these leaks because these objects are still in use.
This is not critical. A cyclic memory leak which would lead to an out-of-memory situation quickly would be critical.
If you disconnect all clients and shut down the server there should not be any leak,
as long as the client has deleted all subscriptions and session it has created.
If not you need to wait for the subscription/session timeout, then the SDK will recycle these objects.
which waits until all requests have been canceled and deleted.
This means if you shut down the server when there are active connections,
our memory pools detect these leaks because these objects are still in use.
This is not critical. A cyclic memory leak which would lead to an out-of-memory situation quickly would be critical.
If you disconnect all clients and shut down the server there should not be any leak,
as long as the client has deleted all subscriptions and session it has created.
If not you need to wait for the subscription/session timeout, then the SDK will recycle these objects.
Best regards
Unified Automation Support Team
Unified Automation Support Team