When I run a slightly larger program, and then run another program will make an error, the program can run normally after restarting the “TX2”, it should be the memory of the previous program is too large, I currently restart the "TX2 ", is there any more effective method? Free up some memory? How to operate?
Does the larger program closed while run another program?
If yes maybe need to check the code for larger program didn’t release memory after closed.
Yes the larger program has closed,
How do I free up memory? Through what command is it possible to release in the terminal
Reference to below to check if memory leak for the program.
I will also suggest that some of the programs involved in AI, using the GPU, might have some increased requirements that program memory has a certain size of block available which is contiguous, and that sometimes different programs running and stopping leaves the correct amount of memory, but the memory might then be more fragmented. Maybe, it’s hard to tell. I suggest using what @ShaneCCC mentions to see if you are losing memory. If all memory is indeed being released, then perhaps it is an issue of fragmentation due to how the GPU requires memory to be arranged.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.