Performance and stability issues with Office Connector 1.6 or 1.7

Still need help?

The Atlassian Community is here for you.

Ask the community

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).

 

 

 

 

 

 

 

 

 

 

 

 

 

   

 

 

 

 

 

 

 

 

 

 

 

 

 

Last modified on Feb 26, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.