configurable maximum cache, temp and template cache (pagePool) sizes

Description

these are currently hardcoded, can these these max size values to be configurable?

  • temp: 1Gb

  • cache: 100Mb

  • templates: 1000 (wouldn’t this be better based on size rather than number?)

it would be also nice to

Activity

Show:
Zac Spitzer
March 17, 2021, 2:59 PM

Preside and Coldbox hits this pagePool limit of 1000 during startup, it can take so long the pool even gets purged during startup

https://github.com/lucee/Lucee/blob/6.0/core/src/main/java/lucee/runtime/PageSourcePool.java#L55

Preside needed a pagePool over 2000 items just for startup

Zac Spitzer
March 27, 2020, 8:22 AM

in my personal experience, 1000 for the PagePool seems to be just a little bit too small, there are always just a few more than 1000 being logged out,

Could we bump this up to 2000?

Assignee

Zac Spitzer

Reporter

Zac Spitzer

Labels

Affects versions

Priority

New