Performance and stability issues with Office Connector 1.6 or 1.7

Problem

In Confluence 3.1 and Confluence 3.2, the Office Connector plugin was enhanced to support indexing of Office 2007 document formats (such as .xlsx, .docx and .pptx).  This functionality was released in Office Connector 1.6 and Office Connector 1.7, respectively.

Indexing of Office 2007 Excel files (.xlsx) can cause Confluence to consume large amounts of memory. Internal testing shows that indexing a 5MB Excel file causes Confluence to allocate up to 1.8GB of heap memory in order to index the file.

Additionally, using the {viewfile} or {viewxls} macro to embed an Office 2007 Excel file in a Confluence page can cause Confluence to consume all available CPU resources (ie. locking at 100% CPU) until the Confluence instance is restarted.

Cause

These are known issues reported at CONF-19674 and CONF-19779 (not publicly viewable).

Workaround

Change their Office Connector plugin version to 1.6.2, which also includes a patch for this issue.

To install this patch,

  1. Browse through the bundled plugins folder at <confluence_install>\WEB-INF\classes\com\atlassian\confluence\setup\atlassian-bundled-plugins.zip
  2. Unzip the files under a known location, locate OfficeConnector-1.*.jar save a copy, and delete it.
  3. Download OfficeConnector-1.6.2.jar and place inside this location.
  4. Zip the contents of this folder.
  5. Replace the new zip file, renamed to atlassian-bundled-plugins.zip

Change to using Office Connector 1.6.2 which has the fix for both issues. Further information is at CONF-19779.

Resolution

Customers experiencing this issue are advised to upgrade to Confluence 3.3 or higher, which contains a version of the Office Connector that addresses this issue (1.12).

   

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport