Translated message

A translation of this page exists in English.

Drools 6 で KieBase をロードする時間を節約するために kbase.cache ファイルを直接ロードすることはできますか?

Solution Verified - Updated -

Issue

  • コードから kjar を作成してから KieBase をロードしようとすると、通常のファイルシステムから rules/asset ファイルを読み込むのと同じ時間がかかり、JVM のヒープメモリを使用しているのが確認できます。kbase.cache ファイルが kjarMETA-INF\defaultKieBase\ にありますか? これには、おそらくすべての rules/assets でコンパイルされた bytecode が含まれており、KieBase のロード時間が速くなると考えられます。
  • ユーザーがこの kbase.cache を直接ロードし、ルールを実行する方法はありますか?

Environment

  • Red Hat JBoss BRMS (BRMS)
    • 6.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content