eclipse / jifa

🔬 Online Heap Dump, GC Log, Thread Dump & JFR File Analyzer.
https://eclipse.github.io/jifa/
Eclipse Public License 2.0
541 stars 96 forks source link

Exceeded limit on max bytes to buffer : 262144 #293

Closed mark8s closed 2 weeks ago

mark8s commented 2 months ago

When I perform GC log analysis, this error is reported. Is it because my GC file size is too large? Is there a way to solve it?

image

image

D-D-H commented 2 months ago

Is there any exception stack trace on server stdout/err?

D-D-H commented 2 months ago

Could you provide the gc log so I can reproduce this problem in my env?

mark8s commented 2 months ago

@D-D-H How do I send you?

D-D-H commented 2 months ago

@mark8s

Could you attach the log here?

![Uploading image.png…]()

mark8s commented 2 months ago

gc.2024-06-19-22-04.log.0.zip

@D-D-H

D-D-H commented 2 months ago

@mark8s

I cannot reproduce the problem.

image

Can you provide your running config(jvm options, jifa application.yml)?

mark8s commented 2 months ago

@D-D-H OK,tks~, I'm not free these days, I'll check it again, maybe there's something wrong with my configuration. Or can you show me your configuration?

D-D-H commented 2 months ago

I just used the default config.

mark8s commented 2 months ago

@D-D-H How did you run it? Does it have anything to do with the performance of the machine? This seems to be a code problem. I didn't change anything. What version of jifa are you running?

mycxu commented 3 weeks ago

@D-D-H I reproduced this problem. When I started a master node and a static node, the problem seemed to occur when the static node returned results. Because this error did not occur when I parsed in standalone-worker mode. When I parsed the heap dump using multiple nodes, I also encountered this error. Only Object Group did not have an error. The other three all showed the same error message. 1730352895959

mycxu commented 3 weeks ago

@D-D-H @mark8s I fixed this issue in this #311 . The reason this error occurred was because the default buffer byte size in Spring is 256KB (262144 bytes). After I modified it to 10MB, the error no longer appears.

mark8s commented 3 weeks ago

@mycxu ok~

D-D-H commented 2 weeks ago

The PR is merged.