Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6581749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:11:34+00:00 2026-05-25T16:11:34+00:00

The application I’m debugging writes randomly/occasionally this exception in its logs. org.hibernate.util.JDBCExceptionReporter – SQL

  • 0

The application I’m debugging writes randomly/occasionally this exception in its logs.

org.hibernate.util.JDBCExceptionReporter - SQL Error: 5, SQLState: HY000 

and an SQL out of memory error associated to this.

While I found in mysql documentation what SQLState: HY000 is, I can’t find anywhere what SQL Error 5 is, related to this state.
Currently I know only that the db connection closes due to this out of memory error, and that the situation doesn’t follow any pattern.

Due to the nature of the program adding additional logging messages is not an option. (I can’t do that as the application is huge and from what I’ve seen it happens randomly – different memory size needed for the queries to execute (in the messages) varying from 3 MB to 6 MB).

Any help/information about this exception is appreciated.

Additional information:
It seems that the out of memory messages come in blocks of 6-50+ requests in an interval of 100-150 milliseconds.
From a list of about 20-30 error messages, only 3 also appeared in mysql logs, the rest only in tomcat logs (printed the stacktrace).

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T16:11:35+00:00Added an answer on May 25, 2026 at 4:11 pm

    HY000 means general error.
    SQL Error 5 is Out of memory.

    Review your query, increase buffers in my.ini.
    Also make sure to repair all your tables and re-index them.

    See: http://dev.mysql.com/doc/refman/5.0/en/error-messages-server.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Application.Run(form); Actually I tried to call this from my project. I got this exception.
Application has an auxiliary thread. This thread is not meant to run all the
Application : HTA (therefore IE) This is an application that uses SendKeys to populate
Application stores configuration data in custom section of configuration file. This information is used
Application: This is a workshop proposal system for a conference. A user can create
Application requests KML data through AJAX from server. This data is stored in javascript
Application.Run(new Main()); This line gives TypeInitializationException was unhandled after I switched from 3.5 to
APPLICATION_LOG_DIR=/home/users/sosst51/test-chinboon/logs/testdata1 PREFIX=mylog for i in `ls ${APPLICATION_LOG_DIR}/${PREFIX}*` Is this a for loop whereby i
My application scenario is like this: I want to evaluate the performance gain one
Application loader is giving me this error when uploading an app to the AppStore:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.