CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2003
    Posts
    99

    Restricting Available Main Memory

    Hi,
    How can I restrict the avaiable memory for an application?
    I am doing some kind of scalability testing.

    Thanks.

  2. #2
    Join Date
    Dec 2003
    Posts
    99
    Forgot to mention, I am working on MS Windows 2000 Advanced Server.

  3. #3
    Join Date
    Dec 2003
    Posts
    99
    Should I assume this is not possible?


    I had considered having another program which itself alllocates some memory and does nothing with it.
    But the problem is this would actually allocate and hence restrict part of my virtual memory.

    The allocated part will for most of the time remain in paged out state, defeating the purpose.

    Please let me know if anyone has tried on similar lines

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured