@joel-a that’s not quite how it works. The JVM GC isn’t actually aware of the memory on the gpu. The way our off heap memory management works is you either trigger the gc, or you set a gc frequency. You can see a similar thread here on this very topic: Dl4j cuda 11.2 running out of memory on evaluation on ubuntu 20.04 - #12 by ajmakoni
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Debugging Memory Issues in Java Application | 7 | 826 | March 5, 2020 | |
| Dl4j cuda 11.2 running out of memory on evaluation on ubuntu 20.04 | 25 | 1825 | November 6, 2021 | |
| Std::bad_alloc error | 8 | 570 | January 3, 2022 | |
| How to determine cause of memory leak while making predictions? | 14 | 2138 | June 5, 2020 | |
| Memory leak in ND4J if using the ZGC garbage collector | 6 | 817 | November 21, 2021 |