PDF ファイルを NuGenesis LMS ドキュメントに追加すると、エラー「out of memory」(メモリ不足)が表示される - WKB54238
Article number: 54238To English version
症状
- PDF ファイルを NuGenesis LMS ドキュメントに追加すると、以下のエラーメッセージが表示される:
- Out of memory
at System.Drawing.Image.FromStream(Stream stream Boolean ,useEmbeddedColorManagement, Boolean validateImageData)
at ExpControl.ExpDataHandler.GetObjectInfos(String[] files, String&* failedFiles, String& comment, ExperimentInfo info, IExpControl expControl)
at MainApp.Document.DocumentEditor.insertFilesObjects(String[] files, Int32 seqNo)
at MainApp.Document.DocumentEditor.insertSectionFromFile()
at MainApp.Document.DocumentEditor.SectionTypeListControl_InsertSection(Object sender, SectionTypeEventArgs se) (メモリ不足 System.Drawing.Image.FromStream(Stream stream Boolean ,useEmbeddedColorManagement, Boolean validateImageData) で ExpControl.ExpDataHandler.GetObjectInfos(String[] files, String&* failedFiles, String& comment, ExperimentInfo info, IExpControl expControl) で MainApp.Document.DocumentEditor.insertFilesObjects(String[] files, Int32 seqNo) で MainApp.Document.DocumentEditor.insertSectionFromFile() で MainApp.Document.DocumentEditor.SectionTypeListControl_InsertSection(Object sender, SectionTypeEventArgs se) で)
- Out of memory
環境
- NuGenesis 8 LMS
- NuGenesis 8 ELN
原因
PDF ファイルには多くの画像が含まれています。LMS は、PDF ファイルを拡張メタファイルに変換しようとし、PDF ファイルのビットマップ画像を EMF に変換するときに、クライアントマシンで大量のメモリを使用します。
解決策
この問題については欠陥報告 CRI-106 が提出されました。これは NuGenesis 9 で修正されています。
- NuGenesis 8 では、PDF をドキュメントコンテンツに表示する必要がない場合は、PDF をドキュメントセクションに添付するだけです。PDF をセクションに添付しても、ファイルは EMF に変換されません。
- ファイルをドキュメントコンテンツに表示する必要がある場合は、以下を試します。
- LMS クライアントを再起動します。
- ドキュメントを開きます。
- PDF ファイルをドキュメントにドロップします。
- 上記の回避策では、LMS クライアントのメモリ使用量が最低のときに PDF のインポートが試行されるため、ファイルが正常にインポートされる可能性が高くなります。
追加情報
id54238, ELN, NGLMS, NGLMSLIC, NGLMSOPT, SUPNG