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...