Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Evolution

Create creatures and let them evolve to see how they master various tasks. · By Keiwan

Memory leak?

A topic by adamwilko created Jan 08, 2018 Views: 934 Replies: 2
Viewing posts 1 to 3

Hi, if I leave evolution running overnight it will eventually crash, sometimes sooner. 

I think it may be a memory leak, though I'm running Win 10 with 64GB RAM + 9GB page file.

Here is the first few lines  of error.log which seem pretty odd, could be either a leak or a null reference. 

-----

Unity Player [version: Unity 2017.1.0f3 (472613c02cf7)]

Evolution.exe caused an Access Violation (0xc0000005)  in module Evolution.exe at 0023:012dccbf.

Error occurred at 2018-01-08_090840.

9% memory in use.
0 MB physical memory [0 MB free].
0 MB paging file [0 MB free].
0 MB user address space [227 MB free].
Write to location 00000008 caused an access violation.


--- 

crash.dmp is 0 bytes

Do you want the full error.log file, and if so where should I send it?

Also, great little genetic sim you have here! Lots of fun. Did you write your own neural net for it, or are you using the machine learning tools in the latest Unity version?

Developer

Thanks! Yeah, I wrote the network myself. It's a really basic feed-forward network so it's nothing special or overly complex, just a nice little exercise for myself to play around with and learn more about machine learning. 

It would be nice if you could send me the error.log to keiwan@gmx.de. I'll try to take a look and see if I can figure out the problem once I have time to work on this project again (probably some time around the end of February).

(+1)

The problem went away after I read that the number per generation has to be even... before that I was incrementing population in steps of 5, so odds are that's where the bug is.