Ticket #356 (closed defect: fixed)

Opened 11 years ago

Last modified 10 years ago

Stack overflow exception is thrown while traversing a large project

Reported by: avneesh-singh Owned by: avneesh-singh
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

Steps:

  1. create a project containing more than 25 sections such that each section contains atleast 600 phrases.
  2. save it and start export.

Result: After waiting for some time, stack overflow exception is thrown from class treenode.cs in urakawa SDK.

Reason for stack overflow exception: This is generally thrown by SDK while traversing a very large tree. It is observed while using depth first traversal before export or during export.

Change History

comment:1 Changed 10 years ago by avneesh-singh

  • Status changed from new to closed
  • Resolution set to fixed

It is not just related to export, resource consumption in DFS recursions sometimes exceeds limit of machine while Obi or sdk is already busy doing some other resource hungry work, resulting in stack overflow. Have modified code a little to avoid such resource demanding recursions at critical points.

Note: See TracTickets for help on using tickets.