| Bug #44585 | sp_cache behaves as memory leak | ||
|---|---|---|---|
| Submitted: | 30 Apr 2009 20:27 | Modified: | 3 Feb 2012 14:27 |
| Reporter: | Andrii Nikitin | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Stored Routines | Severity: | S2 (Serious) |
| Version: | 5.0.72, 5.1.31 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | Leak | ||
[30 Apr 2009 20:27]
Andrii Nikitin
[30 Apr 2009 20:54]
Andrii Nikitin
I modified source code that sp_cache gets cleared at end of sp_show_create_procedure(). Memory usage become stable in testcase.
[18 May 2010 6:48]
MySQL Verification Team
well, no comments since bug was incorrectly marked as private.
[3 Feb 2012 14:27]
Paul DuBois
Noted in 5.5.21, 5.6.5 changelogs. The stored routine cache was subject to a small memory leak that over time or with many routines being used could result in out-of-memory errors.
[13 Apr 2012 7:01]
MySQL Verification Team
The variable to limit the cache size is: stored_program_cache
