iusmar
iusmar

Reputation: 359

How to increase NCache memory allocation

From what I know the memory allocation is set when the cache is created:

createcache demoCache /s 127.0.0.1 /S 1024

Do you know if the memory allocation for NCache can be increased without reinstalling the cache? I need to increase the NCache memory size on production and reinstalling the cache is the last scenario I can do.

Thank you !

Upvotes: 1

Views: 135

Answers (1)

iusmar
iusmar

Reputation: 359

I found a sollution:

  1. cache needs to be stopped: stopCache demoCache /s 127.0.0.1
  2. open the config file for the server with as admin: C:\Program Files\NCache\config\config.ncconf
  3. update the memory allocation according to your needs, cache-config node:

type="heap" cache-size="2048mb"

  1. start the cache back.

Upvotes: 1

Related Questions