You are here: Foswiki>Tasks Web>Item2451 (12 Feb 2010, MichaelDaum)Edit Attach

Item2451: password protected xls files cause an out of memory exception

pencil
Priority: Urgent
Current State: Closed
Released In:
Target Release: n/a
Applies To: Extension
Component: StringifierContrib, KinoSearchContrib
Branches:
Reported By: MichaelDaum
Waiting For:
Last Change By: MichaelDaum
This is a known problem of the Spreadsheet-ParseExcel perl library that has not been resolved yet. For now I had to exclude indexing of xls files to let the indexing process continue. The perl process will ultimately be killed once the OOM has been caused. The error happens as the library tries to allocate an array base on the data it reads from the encrypted file.

Basically there is no way to stringify an encrypted xls file. However we need a robust way that does not take all of the perl process with it. For instance, the spreadsheet parser could be encapsulated in an external perl tool that is sysCmd'ed. This small tool then can OOM ... and thus return the empty string. No beauty.

This also affects the current KinoSearchContrib that uses the same code.

-- MichaelDaum - 03 Dec 2009

ItemTemplate edit

Summary password protected xls files cause an out of memory exception
ReportedBy MichaelDaum
Codebase
SVN Range
AppliesTo Extension
Component StringifierContrib, KinoSearchContrib
Priority Urgent
CurrentState Closed
WaitingFor
Checkins StringifierContrib:44328a4f1844
TargetRelease n/a
ReleasedIn
Topic revision: r2 - 12 Feb 2010, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy