lundi 4 mai 2015

Adaptive Memory management systems in C ++

Greeting ,

I am working on an issue related to memory allocation problem using a factory pattern in C++.

the problem mainly concern the fact that all objects created by the factory class are allocated during a usecase , then once the processing ends they are all recycled (not deleted) in order to favor the performance by reducing the response time during the next transaction .

Hence this policy requires a very important resources which is the main problem. Especially that most of users favor reducing memory consumption than having a high performance.

The solution is to propose an adaptive memory management system that can trade-off either to favor performance or reducing the memory concumption depeding on the applications needs .

I am Beginner on C++ , and Would like to know if is there any books that handle the same issue . moreover I d like to know about other patterns that could be more efficients than the use of factories .

Aucun commentaire:

Enregistrer un commentaire