Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Ticket #1596 (assigned defect)

Opened 9 months ago

Last modified 9 months ago

Failure to serialize on Linux

Reported by: catechu Assigned to: catechu (accepted)
Priority: critical Milestone:
Component: Patient Matching Module Keywords:
Cc: jarbaugh, jegg, sgrannis Introductory Ticket: 1
Code Review Status:

Description

When running the linkage process on Linux with a large patient database, some records fail to be serialized.

Two possible reasons:

  • there is something about each specific record which makes it impossible to serialize
  • due to the large number of records, the garbage collector is failing to close all of the FileOutputStreams used during serialization, causing a garbage collection exception

Example log:

[2009-05-28 17:52:36]Failed to serialize record with id 229439...
[2009-05-28 17:52:36]Failed to serialize record with id 229439...
[2009-05-28 17:52:36]Failed to serialize record with id 168504...
[2009-05-28 17:52:36]Failed to serialize record with id 168504...
[2009-05-28 17:52:36]Failed to serialize record with id 137818...
[2009-05-28 17:52:36]Failed to serialize record with id 137818...
[2009-05-28 17:52:36]Failed to serialize record with id 178517...
[2009-05-28 17:52:36]Failed to serialize record with id 178517...
[2009-05-28 17:52:36]Failed to serialize record with id 74872...
[2009-05-28 17:52:36]Failed to serialize record with id 74872...
[2009-05-28 17:52:36]Failed to serialize record with id 15104...
[2009-05-28 17:52:36]Failed to serialize record with id 15104...
[2009-05-28 17:52:36]Failed to serialize record with id 15104...
[2009-05-28 17:52:36]Failed to serialize record with id 15104...
[2009-05-28 17:52:36]Failed to serialize record with id 15104...
[2009-05-28 17:52:36]Failed to serialize record with id 15104...

Change History

06/26/09 18:31:44 changed by catechu

  • cc changed from jarbaugh to jarbaugh, jegg, sgrannis.

06/29/09 01:54:32 changed by catechu

  • status changed from new to assigned.

07/01/09 15:32:11 changed by catechu

I ran the linkage process on a non-Linux laptop for 50000 entries (original 5000 demo, times ten) without any issues.

07/01/09 21:20:18 changed by catechu

More interestingly, I ran the linkage process on a Ubuntu laptop for the same 50000 entries, and it failed with many hundreds of StackOverflowErrors. This does not reflect the issues from the logs James sent, but it is still interesting.