I observe a high rate of memory consumption when running my code on Linux using native backend. It's about 20 MB / sec and I quickly get out of memory. I don't see this on Mac OS or if I use python backed (and call gc.collect() from time to time).
It is interesting that running demo_neural_turing_machine.py consumes only a constant amount of memory while demo_char_rnn.py very quickly drains all available memory. I will test more examples soon.
Is there an analog of gc.collect() which I can use to free memory allocated by native backend?
I observe a high rate of memory consumption when running my code on Linux using native backend. It's about 20 MB / sec and I quickly get out of memory. I don't see this on Mac OS or if I use python backed (and call gc.collect() from time to time).
It is interesting that running
demo_neural_turing_machine.py
consumes only a constant amount of memory whiledemo_char_rnn.py
very quickly drains all available memory. I will test more examples soon.Is there an analog of gc.collect() which I can use to free memory allocated by native backend?