Jump to content

1179 - out of memory exception export DNG to TIF file


Uwe

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...