windows ulimit = vite pedding

248 阅读1分钟

vite 启动时资源一直pending,console报styling 500k错误

How to change the registry values in Windows to increase ulimit settings.

Troubleshooting

Problem

How to change the registry values in Windows to increase the ulimit settings.

Resolving The Problem

Changing the "ulimit" settings on Windows involves making changes to the Windows registry.
(When making changes to the registry always ensure you have a backup prior to modifications)

To increase the "maxOpenFiles", follow these steps:

  1. Log on with the "Administrator" id.

  2. Click Start -> Run -> regedit.

  3. Navigate the registry to the node as follows:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Services for Unix

  1. If "MaxOpenFiles" exists, go to step 6.

  2. If "MaxOpenFiles" does not exist, click Edit -> New -> DWORD value and type "MaxOpenFiles" for the name.

  3. Double-click "MaxOpenFiles".

  4. Change the base to Decimal.

  5. Enter the value data (ex. 3000 for ulimit -n 3000).

  6. Close Registry Editor.

  7. Restart Windows.

www.ibm.com/support/pag…