[ERROR] [projection.go:454] ["projection executor panicked"] [error="interface conversion: interface {} is nil, not *memory.bytesLimits"]

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: [ERROR] [projection.go:454] [“projection executor panicked”] [error=“interface conversion: interface {} is nil, not *memory.bytesLimits”]

| username: 奋斗的大象

[TiDB Usage Environment] Production Environment / Testing / Poc
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page

[Attachment: Screenshot/Log/Monitoring]
[ERROR] [projection.go:454] [“projection executor panicked”] [error=“interface conversion: interface {} is nil, not *memory.bytesLimits”]
This issue occurs occasionally, causing TiDB connection failures.

| username: Soysauce520 | Original post link

Did TiDB restart?

| username: 奋斗的大象 | Original post link

There has been no restart, and this problem suddenly appeared recently.

| username: WalterWj | Original post link

Looking at this error, it feels like a bug :thinking:. I recommend upgrading to the latest version of 6.1, such as 617. A minor version upgrade equals a patch upgrade.

| username: tidb菜鸟一只 | Original post link

Interface conversion: interface {} is zero, not *memory.bytesLimits · Issue #42302 · pingcap/tidb (github.com)
It’s similar to this, but I haven’t found a solution. It might not appear after an upgrade.

| username: Billmay表妹 | Original post link

Upgrading to 6.1.7, minor version upgrades should not be a big issue.

| username: dba远航 | Original post link

Check the memory-related aspects, such as how much is available.