tags:

views:

30

answers:

0

I created a pool for CFile in order to prevent frequent Open and Close file operation. However I have a question about such a CFile* pool(),

CMapStringToOb m_mAvailableFileObjList;

If files are large, is this pool memory-consuming?

My application seem to occupy large memory, I just doubt about this part, and I'm not sure.

Many Thanks!