Skip to content
TheChatArchiveThe Chat Archive
Claudeclaude-3-7-sonnet-20250219· AnthropicHugging Face LMArena Human Preference 140K

How to change pagefile size in windows console?

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Metallama-4-maverick-17b-128e-instruct’s answer.
  1. User

    How to change pagefile size in windows console?

  2. Claude Assistant

    Changing Pagefile Size in Windows Console

    You can change the pagefile size in Windows using the command line with the wmic command. Here's how to do it:

    Method 1: Using WMIC (Windows Management Instrumentation Command-line)

    1. Open Command Prompt as Administrator

    2. Use the following command to view current pagefile settings:

      wmic pagefile list /format:list
      
    3. To change the pagefile size, use:

      wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=4096,MaximumSize=8192
      

      (This sets a 4GB initial size and 8GB maximum size on the C: drive)

    Method 2: Using PowerShell

    1. Open PowerShell as Administrator

    2. Run the following command to view current settings:

      Get-WmiObject -Class Win32_PageFileSetting
      
    3. To modify the pagefile:

      $pagefile = Get-WmiObject -Class Win32_PageFileSetting
      $pagefile.InitialSize = 4096
      $pagefile.MaximumSize = 8192
      $pagefile.Put()
      

    Note: After changing the pagefile size, you'll need to restart your computer for the changes to take effect.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.