Tech Support > Microsoft Windows > Development Resources > memory mapped files - limit of no of files ?
memory mapped files - limit of no of files ?
Posted by Niel Darren on March 17th, 2007


hi,

quick question: is there an upper limit of how many memory mapped files
there can be created ?


Posted by PJ Naughter on March 31st, 2007


On Sat, 17 Mar 2007 13:29:53 +0100, "Niel Darren"
<nods@pszzxasm.co.uk> wrote:

There is no limit to the actual count of memory mapped files you can
have in a single process, but the limit is dictated by how much
contigous virtual memory you have available to you. This will depend
on what dll's you already have loaded and your apps use of virtual
memory. Personally I would not rely on being able to map more than a
couple of hundred megabytes into a memory mapped file. Your virtual
space is much much bigger on x64 Windows, so if you really need large
memory mapped files, then this is where you need to head.

Regards,
PJ Naughter

Naughter Software
Mail: pjna at naughter.com
Web: www.naughter.com
Hotmail/MSN Messenger: pjnaughter at hotmail.com

It is finally on the shelves... the book from myself and Joseph Gama:

http://www.amazon.com/Super-SQL-Serv.../dp/0976157322


Similar Posts