Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- paramiko
- Selenium
- 프로그래머스
- 기타 연주
- JSON
- SSH
- pandas
- mysql
- Linux
- error
- pytorch
- YOLO
- label
- 채보
- 핑거스타일
- ubuntu
- 오류
- Docker
- Numpy
- VS Code
- 컨테이너
- C
- Python
- windows forms
- C++
- OpenCV
- nvidia-smi
- C#
- Visual Studio
- pip
Archives
- Today
- Total
목록메모리 누수 (1)
기계는 거짓말하지 않는다
Python tracemalloc 모듈 메모리 할당 추적
Python의 tracemalloc은 코드에서 메모리 할당을 추적할 수 있도록 도와주는 기본 모듈이다.가장 많은 메모리를 할당하는 5개의 파일을 표시한 출력 형식은 아래와 비슷하다./home/user/test.py:1817: size=18.2 MiB, count=556, average=33.5 KiB:672: size=438 KiB, count=4584, average=98 B/usr/lib/python3.10/threading.py:258: size=417 KiB, count=1384, average=309 B:241: size=175 KiB, count=1871, average=96 B/usr/lib/python3.10/queue.py:207: size=144 KiB, count=467, averag..
Python
2025. 2. 16. 15:15