ORA-04031 unable to allocate X bytes of shared memory when starting Bitbucket Server

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

問題

Bitbucket Server fails to start and following appears in the atlassian-bitbucket.log

CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:oracle:thin:@//DB_URL:1521/bitbucket, username = BITBUCKET. Terminating connection pool. Original Exception: ------
java.sql.SQLException: ORA-04031: unable to allocate 12312 bytes of shared memory ("shared pool","unknown object","ABC123","abc123")

原因

More shared memory is needed than was allocated in the shared pool.

ソリューション

Consult with your DBA to increase the size of the shared memory in the pool. This can usually be done by increasing the value of shared_pool_reserved_size and shared_pool_size

Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.