Kazelin
Kazelin

Reputation: 83

OrientDB 2.2.2 - Pinned Pages Issue and Implications?

I am seeing an issue with pinned pages after OrientDB starts up and tries to initialize my plocal ODocumentTx DB. I am seeing a repeated message of "Maximum amount of pinned pages is reached" upon startup, and it doesn't finish initializing. After changing storage.diskCache.pinnedPages from 20 to 50, the message is displayed several times, then startup continues as normal.

What are the implications of making this change, and why is it occurring on startup? Is there a way to avoid this from happening even at 50%?

Upvotes: 2

Views: 130

Answers (1)

Oleksandr Gubchenko
Oleksandr Gubchenko

Reputation: 1369

Pinned pages is special area of disk cache which unloaded from RAM only when OrientDB storage is closed. It is used in OrientDB clusters and hash index to speed up performance of storage operations.

You are probably getting this message because the client doesn't have enough memory.

Upvotes: 1

Related Questions