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]
Shane Bester
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]
Shane Bester
The variable to limit the cache size is: stored_program_cache
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.043 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.