Ticket #353 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

Out of memory exception is thrown while exporting a large project

Reported by: avneesh-singh Owned by: daniel-weck
Priority: critical Milestone: Obi 1.0
Component: Application Version:
Keywords: Cc:
Blocked By: Blocking:
Time planned: 1d Time remaining: 1d
Time spent: 1d Estimated Number of Hours:
Add Hours to Ticket: Billable?:
Total Hours:

Description (last modified by avneesh-singh) (diff)

Steps:

  1. create a project such that length of each section in it is more than 75 minutes.
  2. save it and start export.

Result: After waiting for some time, out of memory exception or stack overflow exception is thrown.

Reason for out of memory exception: SDK collects audio binary data of each section in memory before writing it to disk, when section size is large, this memory stream throws out of memory exception.

Reason for stack overflow exception: This is generally thrown by SDK while traversing a very large tree.

Note: there is no specific size of sections or phrase count after which these exceptions are thrown, it is observed that it is dependent on capacity of individual machine.

Change History

comment:1 Changed 11 years ago by avneesh-singh

  • Description modified (diff)

comment:1 Changed 11 years ago by avneesh-singh

  • Owner changed from avneesh-singh to daniel-weck

It is fixed by improving way in which SDK handled data in RAM. Associated bugg, which caused huge delays while export has also been fixed in SDK

comment:1 Changed 11 years ago by avneesh-singh

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.