8 – Form Set Error breaks validation – Allowed memory size of xxx bytes exhausted

I’m creating a simple form :

class UserRegisterForm extends FormBase {

    * {@inheritdoc}
    public function getFormId() {
    return 'user_register_form';

    * {@inheritdoc}
    public function buildForm(array $form, FormStateInterface $form_state) {

        return $form;

    * {@inheritdoc}
    public function validateForm(array &$form, FormStateInterface $form_state) {
        $form_state->setError($form, $this->t('The password must contain at least 12 characters, including 1 lowercase, 1 uppercase and 1 special character.'));

    * {@inheritdoc}
    public function submitForm(array &$form, FormStateInterface $form_state) {}


But when I use the setError() or setErrorByName() methods, I get a “Allowed memory size of XXX bytes exhausted” error when I submit the form.

The logs gives me thousands of 404 Page Not Found errors on my form page, like it was giving me an infinite loop.

Any ideas ?

PostgreSQL-13 The connection pool has been exhausted

Hope all of you are doing well!.

Our ASP NetCore 3.1 Web API runs on CentOS 8 with Postgresql-13, currently, we are facing the following error:

Npgsql.NpgsqlException (0x80004005): The connection pool has been exhausted, either raise MaxPoolSize (currently 30) or Timeout (currently 15 seconds)

Our server specs:


Our configs:



magento2.3 – Magento 2 After product collection join getting Allowed memory size exhausted error

I am trying to join “catalog_category_product” table custom column to product collection like this,

public function beforeSetCollection(
    MagentoCatalogBlockProductProductListToolbar $toolbar,
) {
        'e.entity_id = catalog_category_product.product_id AND catalog_category_product.category_id='.$this->layerResolver->get()->getCurrentCategory()->getId(),
    //echo $collection->getSelect();exit;
    return ($collection);

Query is returning correct output, but I am getting memory error on frontend category page.

Fatal error: Allowed memory size of 792723456 bytes exhausted (tried to allocate 4096 bytes) in /chroot/home/magento/vendor/magento/framework/DB/Statement/Pdo/Mysql.php on line 91

If anyone knows the answer please do share.

camera – Why does my eye lose white balance and feel exhausted when I use my viewfinder?

My D80 has a greenish tint effect (shutter count at approx 46000) in it’s viewfinder which goes away if i use it long enough constantly looking through the viewfinder.

The weird thing is my other eye starts to see things in green tint when i use it for viewfinder instead.

I don’t keep my both eyes during shooting (neither when it comes to shooting certain devices) for easier manual focus but this was a interesting effect.

The other thing i find weird is that my left eye feels exhausted if i keep both of my eyes open.

So, is this normal? What are these called.

wpa2 – Hashcat problem Exhausted

I started testing some things on my own router. I managed to capture one valid handshake on Kali Linux with the appropriate commands (airmon-ng,airodumb etc.). I created a wordlist text file with my router password in it and aircrack-ng successfully found the password. Then I converted the .cap file into .hccapx with cap2hccapx.bin on Kali linux and I tried to find it with hashcat on Windows. I tried the command:

hashcat.exe -m 2500 mine.hccapx test.txt 

but hashcat couldn’t find the password. It says it is exhausted but the password exists on the text file. What do you think is going wrong?

Budget not exhausted but not getting spent google ads

Low impressions in google ads are generally the result of one of the below three main reasons

  1. Low budget, 2. Low bids or 3] Low ad quality

Ref: https://support.google.com/google-ads/answer/7103386?hl=en

If the daily budget hasn’t been spent, then the reason could be either low bid or ad quality issues.

Raising bids for CPC campaigns is discussed in detail at https://support.google.com/google-ads/answer/7103386?hl=en

Regarding ad quality, Google looks at various factors like keyword relevancy, expected CTR etc. You may have to re-check your ad copy and optimize if needed. It is good to check the ad copy for keyword relevance, value propositions, clarity of the message, offer, incentive, etc.

oracle – ERROR org.hibernate.util.JDBCExceptionReporter – Cannot get a connection, pool exhausted

A partir de hace unos dias mi sistema se desconecta de la base de datos, por algun motivo que no puedo encontrar. Hace años que viene funcionando perfectamente, pero desde hace 2 dias cierra la conexion con la base de datos. El sistema esta montado en JAVA con hibernate y una BD Oracle.

Muestro la Excepcion del log por si alguien me puede ayudar.

25-03-2021 ;20:13:19 [http-8080-20] WARN  org.hibernate.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null
 -25-03-2021 ;20:13:19 [http-8080-20] ERROR org.hibernate.util.JDBCExceptionReporter - Cannot get a connection, pool exhausted
 -25-03-2021 ;20:13:19 [http-8080-20] WARN  org.hibernate.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null
 -25-03-2021 ;20:13:19 [http-8080-20] ERROR org.hibernate.util.JDBCExceptionReporter - Cannot get a connection, pool exhausted

dnd 5e – Can a creature who is exhausted benefit from bonuses to speed?

A condition does only what it says. The grappled and restrained conditions, as you cited them, state explicitly that the creature can’t benefit from any bonus to its speed, but the exhaustion condition states no such thing, nor is there a general rule prohibiting the benefit of bonuses to speed when a creature’s speed is reduced to 0.

Specific beats general, so a spell like longstrider would supersede the more general exhaustion condition (on the assumption that one spell out of hundreds is more specific than one common condition out of about a dozen). Otherwise, if that were not the intended precedence, then the grappled and restrained conditions would not even need to state the exception.

This is upheld by Jeremy Crawford, lead rules designer for 5e: “Having 5 levels of exhaustion reduces your speed to 0, but it doesn’t prevent bonuses to speed from applying to you.” (Source)

This is not surprising if you consider each condition thematically: grappled and restrained represent external factors locking a creature in place to restrict their ability to move (and gaining a bonus to speed would not circumvent that restriction), whereas exhaustion represents the creature’s fatigue robbing them of the energy or gumption to move (but gaining a bonus to speed, likely via magic, could overcome that by effectively energizing or motivating them).

mysql – PHP memory size exhausted in drupal

FastCGI sent in stderr: “PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 137612647 bytes)

Already I increase 2 times in php.ini file. But again memory size exhausted happening. And also I got following error /app/source_code_shop/shop/sites/all/modules/contrib/memcache/dmemcache.inc on line 64″ while reading response header from upstream.

We can’t fixed this solution. Is it memcache error or memcache module error or php coding problem. Please give me proper solution how can solve php memory exhaust problem in drupal.

windows 10 – Networking “does not have a valid IP configuration” – all known solutions exhausted

A lot of people get this error for different reasons, but on 1 particular high-end laptop the error has persisted for a full year, despite trying everything short of reinstalling the OS. It seems like nothing special was happening when the error began, though some network related programs were installed (since removed).

Here’s a list of what has been tried:

  • Restarting
  • Disabling / enabling the network adapters
  • netsh resets and flushing (e.g int tcp reset, int ip reset, flushdns, etc)
  • Reinstalling network/WiFi drivers
  • Changing networks many times to make sure it has nothing to do with the router
  • Manually and automatically setting LAN IP and DNS
  • Uninstalling all 3rd party network related software
  • Network reset all settings (Windows feature)
  • Safe Mode
  • Adding a DHCP related DWORD to the registry that ended in “Toggle” with a value of 1
  • Trying all of this with both Ethernet and WiFi
  • Trying an external WiFi adapter

This is on Windows 10. Even Ping fails to transmit with “general error”.