#memray — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #memray, aggregated by home.social.
-
RSS вырос до 3 ГБ, а tracemalloc показывает 180 МБ: как найти остальные 2,8
RSS растёт к лимиту контейнера, tracemalloc показывает прежние 180 МБ, а gc.collect() ничего не меняет. Разберём, как в такой ситуации отделить утечку Python-объектов от нативных аллокаций и удержания памяти системным аллокатором — и понять, где именно искать причину до OOMKilled . Разобраться с памятью
https://habr.com/ru/companies/otus/articles/1068476/
#python #утечки_памяти #сборщик_мусора #профилирование_памяти #FastAPI #tracemalloc #RSS #CPython #memray
-
Good morning, it's the first day of #PyConUS Sprints! Sprints are open to all #PyCon attendees and you don't have to reserve a spot ahead of time, just walk into the room and join the others working on the project.
Room 308: RouteE, #PyStack, #MemRay
Room 309: @pyohio call for proposals
Room 310: Robyn, @coveragepy, Cloud Custodian, @numpy Comics
Room 315: Packaging, commitizen-tools, @pyOpenSci(1 of 2 posts)
-
Now at #PyConLT: @cheukting_ho on memory profiling with memray!
-
Mit pytest-memray automatisiert die Speicher-Allokation eines Programms überwachen
@pytest.mark.limit_memory("24 MB")
def test_foobar():
pass # do some stuff that allocates memory