EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Memory leak while using sendMessageCallback

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
#21573
Posted: 09/17/2012 15:10:44
by Sudhanshu  (Basic support level)
Joined: 08/29/2012
Posts: 6

From 50+ I meant , runs of my program in each of which it creates 2-4 Messengers. Therefore after creating the 100+ instance of messengers it throws error. Because all the semaphore available in system are used.

Sorry about miss on cleanup. It should be "Not cleaned up properly".

Actually I do see a call for semaphore cleanup in ~MCSynchroObject(). But due to some reason it is not called every time in linux systems. I will dig in MsgConnect code later to find exact reason.
#21607
Posted: 09/19/2012 01:42:31
by Eugene Mayevski (EldoS Corp.)

Thank you for explanation. IIRC there's a leak in management of synchronization resources on some Linux versions. I saw it long time ago but believed that this would have fixed over time. Looks like it was not.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 11378 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!