Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/25/09 13:54:15 (15 years ago)
Author:
svonolfe
Message:

Further avoided out of memory exceptions by updating the JobResult DAO (#372)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Communication/3.2/WcfService.cs

    r2068 r2099  
    279279    /// </summary>
    280280    private Stream GetStreamedJobResult(Guid clientId, Guid jobId, byte[] result, double percentage, Exception exception) {
    281       JobResult jobResult =
    282           new JobResult();
     281      SerializedJobResult serializedJobResult =
     282          new SerializedJobResult();
     283      JobResult jobResult = new JobResult();
    283284      jobResult.ClientId = clientId;
    284285      jobResult.JobId = jobId;
    285       jobResult.Result = result;
    286286      jobResult.Percentage = percentage;
    287287      jobResult.Exception = exception;
     288
     289      serializedJobResult.JobResult = jobResult;
     290      serializedJobResult.SerializedJobResultData = result;
    288291
    289292      MemoryStream stream =
Note: See TracChangeset for help on using the changeset viewer.