- changed status to open
memory_usage_max
I have it playing with pondering and every so moves it gives the warning and has only 4 playouts done. The moves are not the best ones in this cases:)
My limit is 1024
Comments (7)
-
repo owner -
reporter OK, I just turned off pondering, it is still present. My feeling is, that it is introduced with the multithreading optimizations.
It happens during usual playout, the memory usage seems far below 1GB.
unsigned long getTreeMemoryUsage() { return (params->tree_instances)*sizeof(Tree); };
We may count till -1?????
I only see it on my 4 core machine...
-
repo owner I removed the global mutex for tree_instances, and I reset it to zero when the tree is cleared, as I couldn't think of a time when memory is freed during a search, but I guess I was wrong. I will have a look at it now.
-
repo owner Can you see if the bug is still there after 2c62ef71e59a?
-
reporter Seems ok, I could only do one game, my daughter has to sleep now (the computer is in her room)
I had to play my own, nobody challenged it:) I lost and tested the kgs feature to win:)
-
repo owner Haha ok. I will leave the bug open for now, if it doesn't come up in the next while, I will assume the fix works.
-
repo owner - changed status to resolved
- Log in to comment
When does it give the warning? While pondering? Or does it only do 4 playouts during the normal move search? What is the actually memory usage of Oakfoam when this happens? 1GB?