Re: [Quickfix-developers] Memory Being Consumed
Brought to you by:
orenmnero
From: Viktor P. <pohrebnyak@i.ua> - 2013-06-28 08:46:31
|
hi, Michael. If you use MemoryStore ( PersistMessages=N ) then you code suffers from missing MessageStore truncate functionality. This issue is not so visible when you use FileStore since quickfix stored just file offsets in memory. But MemoryStore keeps ALL outgoing messages in memory which eats a lot of RAM when your outgoing message rate is high. So to solve your troubles you might want to inherit from MemoryStore class and add truncate functionality into MessageStore::set() method e.g. keep in memory just N last sent messages. Hope this helps, Viktor -- View this message in context: http://quickfix.13857.n7.nabble.com/Memory-Being-Consumed-tp6507p6509.html Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |