Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use orm ALL() search 10w data,but server restart #3642

Open
MrGlp opened this issue Jun 14, 2024 · 1 comment
Open

use orm ALL() search 10w data,but server restart #3642

MrGlp opened this issue Jun 14, 2024 · 1 comment
Labels
bug It is confirmed a bug, but don't worry, we'll handle it.

Comments

@MrGlp
Copy link

MrGlp commented Jun 14, 2024

Go version

1.20

GoFrame version

2.1

Can this bug be reproduced with the latest release?

Option Yes

What did you do?

g.Model(s.TableName(staticTime)).Where("time = ?", staticTime).
		OrderDesc("num").
		Limit(hotNum).All()
if mRes.IsEmpty() {
	return res, err
}
err = mRes.Structs(&res)		

This query returns 10W data, and the program crashes directly

env: alibaba yun k8s

The memory monitoring kanban board doesn't see the change, it's a straight line

What did you see happen?

g.Model(s.TableName(staticTime)).Where("time = ?", staticTime).
		OrderDesc("num").
		Limit(hotNum).All()
if mRes.IsEmpty() {
	return res, err
}
err = mRes.Structs(&res)		

This query returns 10W data, and the program crashes directly

env: alibaba yun k8s

The memory monitoring kanban board doesn't see the change, it's a straight line

What did you expect to see?

i want run success

@MrGlp MrGlp added the bug It is confirmed a bug, but don't worry, we'll handle it. label Jun 14, 2024
@MrGlp
Copy link
Author

MrGlp commented Jun 14, 2024

i need you help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It is confirmed a bug, but don't worry, we'll handle it.
Projects
None yet
Development

No branches or pull requests

1 participant