Improvement #5984 have side-effect that breaks backward compatibility for SuperClassic architecture.
Current implementation makes TempCacheLimit as per-attachment limit, while it was per-process before.
When users migrates from previous versions to the FB4 (or later) and left TempCacheLimit setting tuned for the known SuperClassic memory usage, it is not expected that actual memory consumption could be a lot larger than before.
This ticket offers to make TempCacheLimit as common limit for all attachments to the same database in the given SuperClassic process.
It will not affect Classic and SuperServer architectures.