Click here to Skip to main content
15,913,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: CListCtrl clean up question Pin
Nishad S10-Jan-08 19:20
Nishad S10-Jan-08 19:20 
GeneralRe: CListCtrl clean up question Pin
followait10-Jan-08 19:33
followait10-Jan-08 19:33 
GeneralRe: CListCtrl clean up question Pin
Nishad S10-Jan-08 20:24
Nishad S10-Jan-08 20:24 
GeneralRe: CListCtrl clean up question Pin
zengkun10011-Jan-08 22:22
zengkun10011-Jan-08 22:22 
Questionhow to open an exist file of disk and print on the screen? Pin
gentleguy10-Jan-08 13:49
gentleguy10-Jan-08 13:49 
AnswerRe: how to open an exist file of disk and print on the screen? Pin
Maxwell Chen10-Jan-08 17:35
Maxwell Chen10-Jan-08 17:35 
NewsRe: how to open an exist file of disk and print on the screen? Pin
gentleguy10-Jan-08 17:59
gentleguy10-Jan-08 17:59 
QuestionServer Memory Management - large database. Pin
Mike Doner10-Jan-08 13:06
Mike Doner10-Jan-08 13:06 
Hi all,

Does anybody have any experience with Application Memory Management using a proprietary database?

We have hit a bit of a snag using the 2gig process address space with our product for customers who have large amounts of data. Our server manages several databases, each with 200+ tables, and up to 65,000 records in each table. Currently, when the server fires up, we load in all the databases into Virtual Memory regardless if they're needed or not. As part of the load process, we "reserve" the maximum number of possible memory for each table so we can easily add records to the end that table. We only commit to the number of records that are active. Problem is, Windows will only allow us to "reserve" up to the 2gig mark.

We've considered a few options:

- including only loading in the required databases - but it IS possible that at any given time, all databases will be required (Client/Server application).
- Writing a mechanism that would leave not recently used tables on disk until required.
- Use a process for each database - could get messy with mutex's etc.


A few questions:

- Does anybody have any experience here? What kind of mechanism does your software use?
- Is there a way to elegantly go beyond the 2gig limit?
- How does SQL/MySql handle large databases - ie: When a new record is added to the table - does it append the new record to the end of the allocated memory block?

Unfortunately for our market, the evil proprietary database is the way to go. We're not in a position to change to migrate to anything new at the moment.

Any information/suggestions you might have would be greatly appreciated.

Thanks.
Mike.
GeneralRe: Server Memory Management - large database. Pin
Mark Salsbery10-Jan-08 14:07
Mark Salsbery10-Jan-08 14:07 
GeneralRe: Server Memory Management - large database. Pin
Mike Doner11-Jan-08 2:54
Mike Doner11-Jan-08 2:54 
GeneralRe: Server Memory Management - large database. Pin
upredsun10-Jan-08 18:24
upredsun10-Jan-08 18:24 
Generalshdocvw.dll - WebBrowser control Pin
Force Code10-Jan-08 11:17
Force Code10-Jan-08 11:17 
GeneralRe: shdocvw.dll - WebBrowser control Pin
CPallini10-Jan-08 12:18
mveCPallini10-Jan-08 12:18 
GeneralRe: shdocvw.dll - WebBrowser control Pin
Force Code10-Jan-08 12:46
Force Code10-Jan-08 12:46 
GeneralRe: shdocvw.dll - WebBrowser control Pin
CPallini10-Jan-08 21:08
mveCPallini10-Jan-08 21:08 
GeneralRe: shdocvw.dll - WebBrowser control Pin
Lim Bio Liong10-Jan-08 17:17
Lim Bio Liong10-Jan-08 17:17 
GeneralLoading Bitmaps - Distorted image Pin
Gadjuka10-Jan-08 10:15
Gadjuka10-Jan-08 10:15 
GeneralRe: Loading Bitmaps - Distorted image Pin
Mark Salsbery10-Jan-08 11:15
Mark Salsbery10-Jan-08 11:15 
GeneralRe: Loading Bitmaps - Distorted image Pin
CPallini10-Jan-08 12:04
mveCPallini10-Jan-08 12:04 
GeneralRe: Loading Bitmaps - Distorted image Pin
Californian210-Jan-08 13:00
Californian210-Jan-08 13:00 
GeneralRe: Loading Bitmaps - Distorted image Pin
Gadjuka11-Jan-08 0:42
Gadjuka11-Jan-08 0:42 
GeneralRe: Loading Bitmaps - Distorted image Pin
Gadjuka11-Jan-08 14:25
Gadjuka11-Jan-08 14:25 
QuestionMenu Notifications on MFC Pin
blackbondi10-Jan-08 9:00
blackbondi10-Jan-08 9:00 
GeneralRe: Menu Notifications on MFC Pin
CPallini10-Jan-08 9:50
mveCPallini10-Jan-08 9:50 
GeneralRe: Menu Notifications on MFC Pin
blackbondi10-Jan-08 23:59
blackbondi10-Jan-08 23:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.