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

Profiler throws overflow error when running for a long time #166

Open
kcrimson opened this issue Oct 25, 2024 · 3 comments
Open

Profiler throws overflow error when running for a long time #166

kcrimson opened this issue Oct 25, 2024 · 3 comments

Comments

@kcrimson
Copy link

Hi,

I am testing #136 with JFR support, what we see after running application for a longer period of time is these errors in console:

`2024-10-09 07:05:43.474 [ERROR] Error uploading snapshot: 422 {"code":"unknown","message":"parsing IngestInput-pprof failed jfr parser ParseEvent error: error reading CP: error reading class{name: java.lang.Class, id: 165, fields: [{Name:classLoader Type:166 ConstantPool:true Array:false} {Name:name Type:168 ConstantPool:true Array:false} {Name:package Type:186 ConstantPool:true Array:false} {Name:modifiers Type:206 ConstantPool:false Array:false} {Name:hidden Type:211 ConstantPool:false Array:false}]} int overflow @ 322585"}

2024-10-09 07:05:53.482 [ERROR] Error uploading snapshot: 422 {"code":"unknown","message":"parsing IngestInput-pprof failed jfr parser ParseEvent error: error reading CP: error reading class{name: java.lang.Class, id: 165, fields: [{Name:classLoader Type:166 ConstantPool:true Array:false} {Name:name Type:168 ConstantPool:true Array:false} {Name:package Type:186 ConstantPool:true Array:false} {Name:modifiers Type:206 ConstantPool:false Array:false} {Name:hidden Type:211 ConstantPool:false Array:false}]} int overflow @ 361690"}

2024-10-09 07:06:03.464 [ERROR] Error uploading snapshot: 422 {"code":"unknown","message":"parsing IngestInput-pprof failed jfr parser ParseEvent error: error reading CP: error reading class{name: java.lang.Class, id: 165, fields: [{Name:classLoader Type:166 ConstantPool:true Array:false} {Name:name Type:168 ConstantPool:true Array:false} {Name:package Type:186 ConstantPool:true Array:false} {Name:modifiers Type:206 ConstantPool:false Array:false} {Name:hidden Type:211 ConstantPool:false Array:false}]} int overflow @ 363222"}`

Can somebody help me decipher what is going on here?

@korniltsev
Copy link
Collaborator

You may want to try apply these patches https://github.com/grafana/jfr-parser/pulls?q=is%3Apr+++author%3Asivachandran
They address some JFR parsing issues

@kcrimson
Copy link
Author

I see these PRs are merged, does it mean I need to rebuild pyroscope with updated dependencies to jfr parser?

@korniltsev
Copy link
Collaborator

Yep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants