Article View: borland.public.cppbuilder.nativeapi
Article #6054Re: How to Make Sure that Buffer use ONLY memory
From: JD
Date: Mon, 13 Jun 2005 11:47
Date: Mon, 13 Jun 2005 11:47
24 lines
1847 bytes
1847 bytes
"Deniel" <DenielMail@Internet.com> wrote: > > [...] then why do i get here so many complicated methods Different people know different things. For example, I had not considered your required disk I/O so it may be a better alternative to use FileMapping and I strongly suggest that you evaluate it. >So the question is - Are you SURE that using 'new' force that >all the allocation will sit ONLY on a 'real' RAM That's any easy thing for you to confirm yourself. Try to allocate more memory than what's available and see if it throws. > and will not use the Hard-Disk at all? (and that's what i want) Read what Andrue has to say about this. It sounds like you want your application to behave just as the application that he referenced behaves. ~ JD
Technical Details
Message-ID:
<42ad724b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42ab3793$1@newsgroups.borland.com> <gjmna117s71qnpihpbtg7sqmbbvaob90q6@4ax.com> <42abfa21$1@newsgroups.borland.com> <42ac35d0$1@newsgroups.borland.com> <42ac8a8a$1@newsgroups.borland.com> <42acebc2$1@newsgroups.borland.com> <42ad5055$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,93efc3d53d15c3e4 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "JD" <nospam@nospam.com> Sender: "JD" <nospam@nospam.com> Reply-To: "JD" <nospam@nospam.com> Subject: Re: How to Make Sure that Buffer use ONLY memory Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 64.12.116.131 X-Forwarded-For: 172.165.216.17 References: <42ab3793$1@newsgroups.borland.com> <gjmna117s71qnpihpbtg7sqmbbvaob90q6@4ax.com> <42abfa21$1@newsgroups.borland.com> <42ac35d0$1@newsgroups.borland.com> <42ac8a8a$1@newsgroups.borland.com> <42acebc2$1@newsgroups.borland.com> <42ad5055$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <42ad724b$1@newsgroups.borland.com> Date: 13 Jun 2005 04:47:23 -0700 X-Trace: newsgroups.borland.com 1118663243 207.105.83.66 (13 Jun 2005 04:47:23 -0700) Lines: 25 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail