Uwe Posted March 7, 2015 Report Share Posted March 7, 2015 Hello, I got this exception when I was exporting some DNG files to "TIF original". #581502 : 20080921_163320.dng Eine Ausnahme vom Typ "System.OutOfMemoryException" wurde ausgelöst. bei PicaJet.Daminion.ClientCommon.CatalogServiceProxy.ProcessWithErrors(EventHandler`1 process, Object[] parameters, EventHandler`1 defaultResult) in c:\DaminionAuto\Code\ClientCommon\Classes\CatalogServiceProxy.cs:Zeile 2314. bei PicaJet.Daminion.ClientCommon.CatalogServiceProxy.GetFileTransformationPreview(Int64 mediaItemId, String actionSetAsXml) in c:\DaminionAuto\Code\ClientCommon\Classes\CatalogServiceProxy.cs:Zeile 947. bei PicaJet.Daminion.ClientCommon.RealMediaDataManager.GetFileTransformationPreview(IMediaItem mediaItem, String actionSetAsXml) in c:\DaminionAuto\Code\ClientCommon\Classes\RealMediaDataManager.cs:Zeile 41. bei PicaJet.Daminion.ClientCommon.BasicCatalogUniversalSource.GetFileTransformationPreview(IMediaItem mediaItem, String actionSetAsXml) in c:\DaminionAuto\Code\ClientCommon\Classes\ItemSources\BasicCatalogUniversalSource.cs:Zeile 368. bei PicaJet.Daminion.ClientCommon.ExportAddonData.GetServerData_FileTransformationPreview(IMediaItem item, String actionSetAsXml) in c:\DaminionAuto\Code\ClientCommon\Classes\ExportAddonData.cs:Zeile 192. bei PicaJet.Daminion.ClientCommon.ExportProgressPresenter.GetServerData_GetMediaItemFile(BaseActionSet SelectedActionSet, ExportAddonData ExportAddonData, IMediaItem mediaItem, List`1 tempFileRefs, String actionSetAsXml) in c:\DaminionAuto\Code\ClientCommon\Presenters\ExportProgressPresenter.cs:Zeile 775. bei PicaJet.Daminion.ClientCommon.ExportProgressPresenter.ExportMediaItemsAsync(Object sender, DoWorkEventArgs e) in c:\DaminionAuto\Code\ClientCommon\Presenters\ExportProgressPresenter.cs:Zeile 560. I had the same error some days ago before but can't reproduce it. The current memory usage: Daminion.exe*32 = 652.172K Daminion.Server.exe*32 = 475.696K Regards, Uwe Quote Link to comment Share on other sites More sharing options...
Uwe Posted March 11, 2015 Author Report Share Posted March 11, 2015 Hello, the out of memory exception once more: 2015-03-11 13:35:19,907 [79] ERROR PicaJet.Daminion.Service.Client.WCF.Command.FileTransferHelper [(null)] System.OutOfMemoryException: Eine Ausnahme vom Typ "System.OutOfMemoryException" wurde ausgelöst. bei System.IO.MemoryStream.set_Capacity(Int32 value) bei System.IO.MemoryStream.EnsureCapacity(Int32 value) bei System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count) bei PicaJet.Daminion.Service.Client.WCF.Command.FileTransferHelper.UploadFileStreamFromServer(RemoteFileInfo remoteFile, Stream outputStream) in c:\DaminionAuto\Code\Service.Client.WCF\Command\FileTransferHelper.cs:Zeile 78. 2015-03-11 13:35:19,937 [79] DEBUG PicaJet.Daminion.Service.WCF.RemoteFileInfo [(null)] File 20080927_110853.tif downloaded 2015-03-11 13:35:19,937 [79] ERROR PicaJet.Daminion.Service.Client.WCF.Command.ExportMediaItemFileCommand [(null)] Error: (16313) System.OutOfMemoryException: Eine Ausnahme vom Typ "System.OutOfMemoryException" wurde ausgelöst. bei System.IO.MemoryStream.set_Capacity(Int32 value) bei System.IO.MemoryStream.EnsureCapacity(Int32 value) bei System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count) bei PicaJet.Daminion.Service.Client.WCF.Command.FileTransferHelper.UploadFileStreamFromServer(RemoteFileInfo remoteFile, Stream outputStream) in c:\DaminionAuto\Code\Service.Client.WCF\Command\FileTransferHelper.cs:Zeile 89. bei PicaJet.Daminion.Service.Client.WCF.Command.FileTransferHelper.GetFileImageData(DownloadRequest downloadRequest, IFileTransferService fileTransferService) in c:\DaminionAuto\Code\Service.Client.WCF\Command\FileTransferHelper.cs:Zeile 59. bei PicaJet.Daminion.Service.Client.WCF.Command.ExportMediaItemFileCommand.Start() in c:\DaminionAuto\Code\Service.Client.WCF\Command\ExportMediaItemFileCommand.cs:Zeile 39. bei PicaJet.Daminion.Service.AbstractCommand.Process() in c:\DaminionAuto\Code\Service\AbstractCommand.cs:Zeile 21. Regards, Uwe Quote Link to comment Share on other sites More sharing options...
Murat Posted March 11, 2015 Report Share Posted March 11, 2015 There was the memory leak issue with switched on the Accelerate Preview option in the importing, rescanning folders and rebuilding thumbnail commands. This might force appearing the above issue even with other commands. Please update to the 1184 build. Quote Link to comment Share on other sites More sharing options...
Murat Posted March 12, 2015 Report Share Posted March 12, 2015 Uwe, can you reproduce this issue by the latest 1184 or 1185 builds? Quote Link to comment Share on other sites More sharing options...
Uwe Posted March 14, 2015 Author Report Share Posted March 14, 2015 Hello, I got the exception again in build 1186: #637919 : 20100921_130724.dng Eine Ausnahme vom Typ "System.OutOfMemoryException" wurde ausgelöst. bei PicaJet.Daminion.ClientCommon.CatalogServiceProxy.ProcessWithErrors(EventHandler`1 process, Object[] parameters, EventHandler`1 defaultResult) in c:\DaminionAuto\Code\ClientCommon\Classes\CatalogServiceProxy.cs:Zeile 2314. bei PicaJet.Daminion.ClientCommon.CatalogServiceProxy.GetFileTransformationPreview(Int64 mediaItemId, String actionSetAsXml) in c:\DaminionAuto\Code\ClientCommon\Classes\CatalogServiceProxy.cs:Zeile 947. bei PicaJet.Daminion.ClientCommon.RealMediaDataManager.GetFileTransformationPreview(IMediaItem mediaItem, String actionSetAsXml) in c:\DaminionAuto\Code\ClientCommon\Classes\RealMediaDataManager.cs:Zeile 41. bei PicaJet.Daminion.ClientCommon.BasicCatalogUniversalSource.GetFileTransformationPreview(IMediaItem mediaItem, String actionSetAsXml) in c:\DaminionAuto\Code\ClientCommon\Classes\ItemSources\BasicCatalogUniversalSource.cs:Zeile 368. bei PicaJet.Daminion.ClientCommon.ExportAddonData.GetServerData_FileTransformationPreview(IMediaItem item, String actionSetAsXml) in c:\DaminionAuto\Code\ClientCommon\Classes\ExportAddonData.cs:Zeile 192. bei PicaJet.Daminion.ClientCommon.ExportProgressPresenter.GetServerData_GetMediaItemFile(BaseActionSet SelectedActionSet, ExportAddonData ExportAddonData, IMediaItem mediaItem, List`1 tempFileRefs, String actionSetAsXml) in c:\DaminionAuto\Code\ClientCommon\Presenters\ExportProgressPresenter.cs:Zeile 775. bei PicaJet.Daminion.ClientCommon.ExportProgressPresenter.ExportMediaItemsAsync(Object sender, DoWorkEventArgs e) in c:\DaminionAuto\Code\ClientCommon\Presenters\ExportProgressPresenter.cs:Zeile 560. But I can't reproduce it. It happens randomly. It works after the client restart. Regards, Uwe Quote Link to comment Share on other sites More sharing options...
Murat Posted March 16, 2015 Report Share Posted March 16, 2015 If this happens once more, can you please launch the Task Manager (Ctrl + Shift + Esc) and see how many memory is occupied by Daminion.exe and Daminion Server (if the Daminion Server is installed on another PC, could you please launch the Task manager on the server based PC and check it there). Thanks! Quote Link to comment Share on other sites More sharing options...
Uwe Posted March 16, 2015 Author Report Share Posted March 16, 2015 Hello, here the exception again. #756550 : 20100921_145015.tif Eine Ausnahme vom Typ "System.OutOfMemoryException" wurde ausgelöst. bei PicaJet.Daminion.Common.Utilities.SaveStreamToFile(String fileRef, Stream stream) bei PicaJet.Daminion.ClientCommon.ExportProgressPresenter.GetServerData_GetMediaItemFile(BaseActionSet SelectedActionSet, ExportAddonData ExportAddonData, IMediaItem mediaItem, List`1 tempFileRefs, String actionSetAsXml) in c:\DaminionAuto\Code\ClientCommon\Presenters\ExportProgressPresenter.cs:Zeile 821. bei PicaJet.Daminion.ClientCommon.ExportProgressPresenter.ExportMediaItemsAsync(Object sender, DoWorkEventArgs e) in c:\DaminionAuto\Code\ClientCommon\Presenters\ExportProgressPresenter.cs:Zeile 560. I'll send a video recorded the current activities and the status of the client and server in the task manager. Daminion: 534.076K Daminion Server: 479.344K Regards, Uwe Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.