Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8386149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:51:21+00:00 2026-06-09T17:51:21+00:00

How do I create a file in virtual memory and can I use normal

  • 0

How do I create a file in virtual memory and can I use normal file functions on it as CreateFile, WriteFile etc. ?

I am trying to implement a buffered file writer class, but the problem is managing a buffer that needs dynamic constant reallocation.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T17:51:23+00:00Added an answer on June 9, 2026 at 5:51 pm

    As far as I think,you want the whole file inside Virtual Memory? But it feels a little difficult to me, and thus I have got another workaround for it.You can use VirtualAllocExNuma to load your file in memory and work on it.Since Virtual Memory is that part of the memory which is just supposed to be retained by OS but in physically it is scattered around different Non Uniform memory devices besides RAM.
    It is not a filesystem where you can save your files and how it is managed is also difficult to be traced(at least for me!).

    VirtualAllocExNuma

    Reserves or commits a region of memory within the virtual address
    space of the specified process, and specifies the NUMA node for the
    physical memory.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My httpd-vhosts.conf file looks something like this. I am trying to create 2 virtual
I am trying to use memory-mapped files as: hFile = ::CreateFile(State.Path, GENERIC_READ, FILE_SHARE_READ |
Here's an idea. I'm trying to create file from PHP script. File may be
Im trying to create new file on D: drive with c/c++ I found this
I'm trying to create a custom file upload control in WPF 4.0 and I'm
In the Windows world I can create a file system filter (upper or lower)
is it possible to create a custom file system or use an existing file
I can create a .pth file and put it in my virtualenv lib\site-packages to
I want to create a file that only resides in memory... In looking through
I need to create file sharing and chatting system like Microsoft Groove under .NET

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.