Click here to Skip to main content
15,938,446 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi To All

Can anyone recommend some reading and research articles on how to maintain an application with tremendous memory usage.

Currently I have a biometrics project that with estimates will require a total memory usage of 32GB at its peak for just the biometric information.

And before you suggest putting it on a db is not an option as these need to be kept in the application memory for matching engines to identify the aquired minutae.

Thank you

1 solution

Just put more RAM into the computer - 32GB doesn't cost all that much anymore.

Alternatively rewrite the core of your application in C++, or any other language that gives you control over how memory is allocated - this may help, but exactly how much depends on how your data is organized.

Best regards
Espen Harlinn
Share this answer
Sergey Alexandrovich Kryukov 29-Dec-12 20:42pm    
You are right, but one more problem: a motherboard may limit amount of memory boards and total memory. 5 anyway.
Espen Harlinn 30-Dec-12 5:36am    
Thank you, Sergey :-D (BTW: Good point)
L Viljoen 31-Dec-12 2:33am    
Also keep in mind that 32 bit processes are limited, so 64 bit would be needed. Its not so much a hardware issue as it is a infrastructure issue, you see the garbage collector in C# starts to take strain when the memory runs up to huge amounts

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900