Improving Imebra's performances PDF Print E-mail

Imebra comes with a memory manager that reuses the memory unused by the library.
Changing few parameters of the memory manager can significantly improve the performances of Imebra.

The performances improvement is more visible when the dicom file contains multiframe images.

In order to speed up the library you should increase the amount of memory that is kept by the memory manager after it has been marked as unused.

In the Imebra library up to the version 0.0.26 the value of kept memory can be increased by modifying the initial value of m_maxSize, inside the function memoryPool::memoryPool(); the function is located in the file "puntoexe_library/base/src/memory.cpp".

In the Imebra library from version 0.0.27 the value of kept memory can be increased by defining the preprocessor symbol IMEBRA_MEMORY_POOL_MAX_SIZE.

Both m_maxSize and IMEBRA_MEMORY_POOL_MAX_SIZE indicate the number of bytes kept by the memory manager. 




Bookmark this
Digg!Reddit!Del.icio.us!Facebook!Slashdot!
Last Updated ( Thursday, 15 March 2007 )
 
Next >

Search