Click here to Skip to main content
15,907,001 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: !running 2 instances of app concurrently Pin
David Crow11-Jul-05 8:51
David Crow11-Jul-05 8:51 
Generalauto_ptr Pin
act_x11-Jul-05 7:45
act_x11-Jul-05 7:45 
GeneralRe: auto_ptr Pin
lemleyd11-Jul-05 8:30
lemleyd11-Jul-05 8:30 
GeneralRe: auto_ptr Pin
act_x11-Jul-05 8:51
act_x11-Jul-05 8:51 
GeneralRe: auto_ptr Pin
Jack Puppy11-Jul-05 10:40
Jack Puppy11-Jul-05 10:40 
GeneralListView with LVS_ICON style... Pin
Ian Bowler11-Jul-05 7:17
Ian Bowler11-Jul-05 7:17 
GeneralRe: ListView with LVS_ICON style... Pin
Neelesh K J Jain11-Jul-05 20:18
Neelesh K J Jain11-Jul-05 20:18 
GeneralPre-allocation of virtual memory Pin
De Nardis Andrea11-Jul-05 7:12
De Nardis Andrea11-Jul-05 7:12 
Hi all,
Is there a way to pre-allocate some large amount of virtual memory for a process and then let it use?
I have the following problem: there is a very important service that use large amount of memory (up to 400MB and more) but its memory usage depends on time: sometime uses as low as 4MB of memory, sometimes 400MB. Sometimes it happens that it cannot find 400MB free because other less important processes uses it. A possible solution would be to pre-allocate 400MB, and then let 'malloc' and 'new' allocate from the pre-allocated pool.
Do you know a way to do it in W2K/XP?
Thanks a lot in advance.
Regards,
Andrea
GeneralRe: Pre-allocation of virtual memory Pin
krmed11-Jul-05 7:45
krmed11-Jul-05 7:45 
GeneralRe: Pre-allocation of virtual memory Pin
Jack Puppy11-Jul-05 10:43
Jack Puppy11-Jul-05 10:43 
GeneralRe: Pre-allocation of virtual memory Pin
De Nardis Andrea11-Jul-05 21:42
De Nardis Andrea11-Jul-05 21:42 
Generalsimplistic font question. Pin
Maximilien11-Jul-05 6:53
Maximilien11-Jul-05 6:53 
GeneralI need help (fatal + urgent) Pin
TA-RS11-Jul-05 5:33
TA-RS11-Jul-05 5:33 
GeneralRe: I need help (fatal + urgent) [edited - bis] Pin
toxcct11-Jul-05 5:42
toxcct11-Jul-05 5:42 
GeneralRe: I need help (fatal + urgent) [edited - bis] Pin
TA-RS14-Jul-05 13:02
TA-RS14-Jul-05 13:02 
GeneralRe: I need help (fatal + urgent) Pin
Maximilien11-Jul-05 5:45
Maximilien11-Jul-05 5:45 
GeneralReturning a date Pin
Camron11-Jul-05 5:27
Camron11-Jul-05 5:27 
GeneralRe: Returning a date Pin
David Crow11-Jul-05 5:42
David Crow11-Jul-05 5:42 
GeneralRe: Returning a date Pin
Maximilien11-Jul-05 5:49
Maximilien11-Jul-05 5:49 
GeneralRe: Returning a date Pin
Indivara11-Jul-05 14:47
professionalIndivara11-Jul-05 14:47 
Generalebitmap file Pin
Anonymous11-Jul-05 5:26
Anonymous11-Jul-05 5:26 
GeneralMFC PreTranslatedMessage() ... opening dialog Pin
majeric11-Jul-05 3:14
majeric11-Jul-05 3:14 
GeneralRe: MFC PreTranslatedMessage() ... opening dialog Pin
David Crow11-Jul-05 3:26
David Crow11-Jul-05 3:26 
GeneralRe: MFC PreTranslatedMessage() ... opening dialog Pin
majeric12-Jul-05 0:39
majeric12-Jul-05 0:39 
GeneralRe: MFC PreTranslatedMessage() ... opening dialog Pin
David Crow12-Jul-05 3:27
David Crow12-Jul-05 3:27 

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.