jayped007 / snofyre

Automatically exported from code.google.com/p/snofyre
0 stars 0 forks source link

Java out of memory error when generating data for 'All patients with 123397009' #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generating data for query with above concept
2. Snofyre runs out of memory even when patient number set to 100

Original issue reported on code.google.com by snofyre....@gmail.com on 16 Jan 2011 at 3:14

GoogleCodeExporter commented 9 years ago
This is a known issue in how the data generator tries to randomise data 
generation. It currently tries to load all descendants of a concept into 
memory, before picking a random descendant. This leads to an out of memory 
exception when a relatively high level concept like 123397009 is specified.

Original comment by snofyre....@gmail.com on 16 Jan 2011 at 3:16

GoogleCodeExporter commented 9 years ago
This issue should now be fixed... Along with the other all patient ids being 
set to 0...

1. Stop Snofyre if it is running.
2. Copy the attached jars to the lib folder.
3. Drop fakedata2 schema and recreate it from MySQL Admin or Workbench.
4. Change line 16 in fakedata-db.properties file to 
hibernate.hbm2ddl.auto=create
5. Restart Snofyre
6. Verify tables have been created in backend...
7. Try creating data for 123397009.
8. Revert changes to fakedata-db.properties file before starting Snofyre next 
time.

Original comment by jay.kola on 19 Jan 2011 at 11:41

GoogleCodeExporter commented 9 years ago
This issue should now be fixed... Along with the other all patient ids being 
set to 0...

1. Stop Snofyre if it is running.
2. Copy the attached jars to the lib folder.
3. Drop fakedata2 schema and recreate it from MySQL Admin or Workbench.
4. Change line 16 in fakedata-db.properties file to 
hibernate.hbm2ddl.auto=create
5. Restart Snofyre
6. Verify tables have been created in backend...
7. Try creating data for 123397009.
8. Revert changes to fakedata-db.properties file before starting Snofyre next 
time.

Original comment by jay.kola on 19 Jan 2011 at 11:42

Attachments:

GoogleCodeExporter commented 9 years ago
Jeremy confirmed that the patch works, so this issue will be closed.

Original comment by jay.kola on 22 Jan 2011 at 7:22

GoogleCodeExporter commented 9 years ago

Original comment by jay.kola on 22 Jan 2011 at 7:22