MulaiMulai sekarang secara gratis

Exploring memory allocations

Following the workflow from the previous exercise, you've described the memory symptoms to AI and it guided you to run tracemalloc. The allocation trace is now displayed in the terminal.

Your task: Use AI to help you interpret the memory trace. Copy the output from the terminal, paste it into the chat, and ask questions like "What's causing the memory growth?" or "Which allocation should I focus on?".

After asking AI to analyze the tracemalloc output, which optimization strategy does it recommend for the main memory hotspot?

Latihan ini adalah bagian dari kursus

Advanced AI-Assisted Coding for Developers

Lihat Kursus

Latihan interaktif praktis

Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.

Mulai berolahraga