[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Figuring out what's doing so much allocation
From: |
Jim Blandy |
Subject: |
Figuring out what's doing so much allocation |
Date: |
Fri, 10 Feb 2012 11:22:40 -0800 |
I was running into a problem (now fixed) in which gc was running
constantly, so I put together the following hack to figure out who was
doing the allocation. Set gc-quit-frequency to something like 20, and
then set debug-on-quit, and you'll get a backtrace every 20th gc. It's
hardly precise, but often one just needs a hint to suss out the cause.
gc-quit-frequency.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Figuring out what's doing so much allocation,
Jim Blandy <=