Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# WinForm
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 2:02am
Chona11714.5K

1 solution

Rate this: bad
good
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
  Permalink  
Comments
Sergey Alexandrovich Kryukov at 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.
—SA
Espen Harlinn at 30-Dec-12 5:36am
   
Thank you, Sergey :-D (BTW: Good point)
Chona1171 at 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
0 OriginalGriff 285
1 DamithSL 265
2 CPallini 195
3 Maciej Los 175
4 George Jonsson 170
0 OriginalGriff 5,415
1 DamithSL 4,422
2 Maciej Los 3,820
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,911


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 28 Dec 2012
Copyright © CodeProject, 1999-2014
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