metaphorshear / gene-nation

Automatically exported from code.google.com/p/gene-nation
0 stars 0 forks source link

After running an indeterminate length of time, gene nation hangs #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the program and leave it alone.
2. Look at the output after at least half an hour, usually during the choose or 
bids routine for a new offspring.
3. Attempts to stop with keyboard interrupt may or may not work.

What is the expected output? What do you see instead?
There should be a continual flow of new data until all iterations of the gene 
pool have been completed. Instead, it hangs. This is probably a multi-threading 
related issue.

Original issue reported on code.google.com by vashts.f...@gmail.com on 10 Sep 2013 at 2:26

GoogleCodeExporter commented 9 years ago
I have not found obvious threading-related issues. I considered it may also be 
a symptom of high memory usage, and have migrated most of the code to use SQL, 
instead of leaving hundreds of dicts in memory. Currently trying to implement 
Firebird/SQLAlchemy for this task; previously tried SQLite but it is very slow.

Original comment by vashts.f...@gmail.com on 4 Oct 2013 at 12:38