Click here to Skip to main content
13,145,774 members (65,360 online)
Rate this:
Please Sign up or sign in to 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
Posted 28-Dec-12 1:02am
L Viljoen5.3K

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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
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)
Chona1171 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170915.1 | Last Updated 28 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100