Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
Description
Thank you for MariaDB 5.3.5-ga
The attached file contains a reproducer.
Running against 5.3.5-ga and a pull from bzr against 5.3 yesterday I am able to get mysqld to consume a great deal of memory by running the attached file thus:
mysql -D test < 20120313_mariadb_5_3_5_out_of_mem.sql
When memory is exhausted the error reported to the client is:
- ERROR 5 (HY000): Out of memory (Needed [digit] bytes)
and the server error log has:
[ERROR] mysqld: Out of memory (Needed [digit] bytes)
[ERROR] Out of memory; check if mysqld or some other process uses all available memory; if not, you may have to use 'ulimit' to allow mysqld to use more memory or you can add more swap space
(I am aware the query should avoid using single quotes around ints.)
Running bzr pull on:
Linux 2.6.32-131.6.1.el6.x86_64 #1 SMP x86_64 x86_64 x86_64 GNU/Linux
Using mariadb-5.3.5-ga-Linux-x86_64.tar.gz on:
Linux l2.6.32-220.el6.x86_64 #1 SMP x86_64 x86_64 x86_64 GNU/Linux
Cheers
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
20120313_mariadb_5_3_5_out_of_mem.sql
LPexportBug954262_20120313_mariadb_5_3_5_out_of_mem.sql